Fixed index in the command

This commit is contained in:
Jaime Martínez Rincón 2017-09-15 00:07:56 +02:00
parent 14f2765a14
commit 34594eafaa

View File

@ -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;
}