mirror of
https://github.com/BGHDDevelopment/PlayerBalancer.git
synced 2024-11-09 12:30:03 +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 {
|
} else {
|
||||||
int iterations = 0;
|
int iterations = 0;
|
||||||
for (ServerInfo server : target.getServers()) {
|
for (ServerInfo server : target.getServers()) {
|
||||||
if (iterations++ < number) {
|
if (iterations++ < number - 1) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user