mirror of
https://github.com/BGHDDevelopment/PlayerBalancer.git
synced 2024-11-09 04:20:32 +01:00
Fixed index in the command
This commit is contained in:
parent
14f2765a14
commit
34594eafaa
@ -43,7 +43,7 @@ public class FallbackCommand extends Command {
|
||||
} else {
|
||||
int iterations = 0;
|
||||
for (ServerInfo server : target.getServers()) {
|
||||
if (iterations++ < number) {
|
||||
if (iterations++ < number - 1) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user