diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-02-25 16:12:38 +0000 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-02-25 16:12:38 +0000 |
commit | 57338bee5205c157c1cf83bf50ab513f9d3f69d9 (patch) | |
tree | aa178c1cd5d0fc35fba7e76b07f1a72f71637bbc /src/main/java/net/minecraft/server/ServerConfigurationManager.java | |
parent | 659fa9eaf9ccfcda12ee9bc4b7dfa589884927da (diff) | |
download | craftbukkit-57338bee5205c157c1cf83bf50ab513f9d3f69d9.tar craftbukkit-57338bee5205c157c1cf83bf50ab513f9d3f69d9.tar.gz craftbukkit-57338bee5205c157c1cf83bf50ab513f9d3f69d9.tar.lz craftbukkit-57338bee5205c157c1cf83bf50ab513f9d3f69d9.tar.xz craftbukkit-57338bee5205c157c1cf83bf50ab513f9d3f69d9.zip |
Much better console interaction. History, no more losing the command, colours, inline editing, etc. Shorter log output to console (but not to file).
Diffstat (limited to 'src/main/java/net/minecraft/server/ServerConfigurationManager.java')
-rw-r--r-- | src/main/java/net/minecraft/server/ServerConfigurationManager.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/ServerConfigurationManager.java b/src/main/java/net/minecraft/server/ServerConfigurationManager.java index 7f26ef18..15a1e554 100644 --- a/src/main/java/net/minecraft/server/ServerConfigurationManager.java +++ b/src/main/java/net/minecraft/server/ServerConfigurationManager.java @@ -17,6 +17,7 @@ import org.bukkit.Location; import org.bukkit.command.ConsoleCommandSender; import org.bukkit.craftbukkit.CraftServer; import org.bukkit.craftbukkit.CraftWorld; +import org.bukkit.craftbukkit.command.ColouredConsoleSender; import org.bukkit.entity.Player; import org.bukkit.event.Event; import org.bukkit.event.Event.Type; @@ -48,7 +49,7 @@ public class ServerConfigurationManager { public ServerConfigurationManager(MinecraftServer minecraftserver) { minecraftserver.server = new CraftServer(minecraftserver, this); - minecraftserver.console = new ConsoleCommandSender(minecraftserver.server); + minecraftserver.console = new ColouredConsoleSender(minecraftserver.server); server = minecraftserver.server; // CraftBukkit end |