Remove invalid tab completions from DefaultGameModeCommand as player names are not an accepted parameter.

This commit is contained in:
EvilSeph 2012-10-29 02:12:07 -04:00
parent 1f37a492b4
commit 9ea682a4a1

View File

@ -68,9 +68,8 @@ public class DefaultGameModeCommand extends VanillaCommand {
if (args.length == 1) {
return StringUtil.copyPartialMatches(args[0], GAMEMODE_NAMES, new ArrayList<String>(GAMEMODE_NAMES.size()));
} else if (args.length == 2) {
return super.tabComplete(sender, alias, args);
}
return ImmutableList.of();
}
}