Skip to content

Commit 34594ea

Browse files
committed
Fixed index in the command
1 parent 14f2765 commit 34594ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/jaimemartz/playerbalancer/commands/FallbackCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public void execute(CommandSender sender, String[] args) {
4343
} else {
4444
int iterations = 0;
4545
for (ServerInfo server : target.getServers()) {
46-
if (iterations++ < number) {
46+
if (iterations++ < number - 1) {
4747
continue;
4848
}
4949

0 commit comments

Comments
 (0)