fix an error with the kick event
This commit is contained in:
+1
-1
@@ -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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user