mirror of
https://github.com/BGHDDevelopment/PlayerBalancer.git
synced 2024-09-19 03:01:18 +02:00
Added explanatory comments on kick behaviour
This commit is contained in:
parent
b54ed5c5d5
commit
cc4819b57c
@ -89,6 +89,8 @@ public class ServerKickListener implements Listener {
|
||||
ServerSection target = task.call();
|
||||
if (target != null) {
|
||||
//Do not try to reconnect to the server we are kicked from
|
||||
//This can happen when the sections are working on recursive mode (with rules)
|
||||
//Example: You are kicked to a server, you go to another server in the same section
|
||||
List<ServerInfo> servers = new ArrayList<>();
|
||||
servers.addAll(target.getServers());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user