diff options
author | Phillip Schichtel <quick_wango@code-infection.de> | 2013-08-17 18:49:27 -0600 |
---|---|---|
committer | Nate Mortensen <nate.richard.mortensen@gmail.com> | 2013-09-10 20:57:31 -0500 |
commit | ffcd0f45023610f1d0f20195de695a88eed42cc4 (patch) | |
tree | bec0e1bcbb27224cf222a266758ca142036b5891 /src/main/java/net/minecraft | |
parent | 5f65cd9a1c316e2b751d423bba4f00b0ad6568a1 (diff) | |
download | craftbukkit-ffcd0f45023610f1d0f20195de695a88eed42cc4.tar craftbukkit-ffcd0f45023610f1d0f20195de695a88eed42cc4.tar.gz craftbukkit-ffcd0f45023610f1d0f20195de695a88eed42cc4.tar.lz craftbukkit-ffcd0f45023610f1d0f20195de695a88eed42cc4.tar.xz craftbukkit-ffcd0f45023610f1d0f20195de695a88eed42cc4.zip |
Provide a tab completion handler for JLine. Adds BUKKIT-4168
Diffstat (limited to 'src/main/java/net/minecraft')
-rw-r--r-- | src/main/java/net/minecraft/server/PlayerList.java | 1 |
1 files changed, 1 insertions, 0 deletions
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 |