diff options
author | EvilSeph <evilseph@gmail.com> | 2012-10-29 02:12:07 -0400 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-10-29 02:12:07 -0400 |
commit | 9ea682a4a10e496c4708399e2a21cbc6413d8e2f (patch) | |
tree | 93c770cf6f7836cb033f94d4680df8f67527e92f | |
parent | 1f37a492b42ce0e70183b20bd6c57984903c98b5 (diff) | |
download | bukkit-9ea682a4a10e496c4708399e2a21cbc6413d8e2f.tar bukkit-9ea682a4a10e496c4708399e2a21cbc6413d8e2f.tar.gz bukkit-9ea682a4a10e496c4708399e2a21cbc6413d8e2f.tar.lz bukkit-9ea682a4a10e496c4708399e2a21cbc6413d8e2f.tar.xz bukkit-9ea682a4a10e496c4708399e2a21cbc6413d8e2f.zip |
Remove invalid tab completions from DefaultGameModeCommand as player names are not an accepted parameter.
-rw-r--r-- | src/main/java/org/bukkit/command/defaults/DefaultGameModeCommand.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/org/bukkit/command/defaults/DefaultGameModeCommand.java b/src/main/java/org/bukkit/command/defaults/DefaultGameModeCommand.java index 1611d413..9557b097 100644 --- a/src/main/java/org/bukkit/command/defaults/DefaultGameModeCommand.java +++ b/src/main/java/org/bukkit/command/defaults/DefaultGameModeCommand.java @@ -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(); } } |