fix an error with the kick event

This commit is contained in:
ajgeiss0702
2021-08-09 09:12:17 -07:00
parent e08accafae
commit 0d910d391c
2 changed files with 3 additions and 3 deletions
@@ -124,7 +124,7 @@ public class BungeeQueue extends Plugin implements Listener {
Component reason = BungeeComponentSerializer.get().deserialize(e.getKickReasonComponent());
main.getEventHandler().onServerKick(
new BungeePlayer(e.getPlayer()),
new BungeeServer(e.getCancelServer()),
new BungeeServer(e.getKickedFrom()),
reason,
false
);