From ffcd0f45023610f1d0f20195de695a88eed42cc4 Mon Sep 17 00:00:00 2001 From: Phillip Schichtel Date: Sat, 17 Aug 2013 18:49:27 -0600 Subject: Provide a tab completion handler for JLine. Adds BUKKIT-4168 --- src/main/java/net/minecraft/server/PlayerList.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/net/minecraft/server') diff --git a/src/main/java/net/minecraft/server/PlayerList.java b/src/main/java/net/minecraft/server/PlayerList.java index 0f17c90c..5dafeaf3 100644 --- a/src/main/java/net/minecraft/server/PlayerList.java +++ b/src/main/java/net/minecraft/server/PlayerList.java @@ -55,6 +55,7 @@ public abstract class PlayerList { public PlayerList(MinecraftServer minecraftserver) { minecraftserver.server = new CraftServer(minecraftserver, this); minecraftserver.console = org.bukkit.craftbukkit.command.ColouredConsoleSender.getInstance(); + minecraftserver.reader.addCompleter(new org.bukkit.craftbukkit.command.ConsoleCommandCompleter(minecraftserver.server)); this.cserver = minecraftserver.server; // CraftBukkit end -- cgit v1.2.3