diff options
Diffstat (limited to 'src/main/java/net/minecraft/server/MinecraftServer.java')
-rw-r--r-- | src/main/java/net/minecraft/server/MinecraftServer.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java index 3fb1215c..9b00bb7f 100644 --- a/src/main/java/net/minecraft/server/MinecraftServer.java +++ b/src/main/java/net/minecraft/server/MinecraftServer.java @@ -834,6 +834,8 @@ public abstract class MinecraftServer implements Runnable, IMojangStatistics, IC } public List a(ICommandListener icommandlistener, String s) { + // CraftBukkit start - Allow tab-completion of Bukkit commands + /* ArrayList arraylist = new ArrayList(); if (s.startsWith("/")) { @@ -872,6 +874,9 @@ public abstract class MinecraftServer implements Runnable, IMojangStatistics, IC return arraylist; } + */ + return this.server.tabComplete(icommandlistener, s); + // CraftBukkit end } public static MinecraftServer getServer() { |