Blocked access to ColouredConsoleSenders constructor, implemented getConsoleSender

This commit is contained in:
Dinnerbone
2011-09-24 23:14:13 +01:00
parent 0118a20d6a
commit 44136f2e7d
6 changed files with 25 additions and 4 deletions

View File

@@ -50,7 +50,7 @@ public class ServerConfigurationManager {
public ServerConfigurationManager(MinecraftServer minecraftserver) {
minecraftserver.server = new CraftServer(minecraftserver, this);
minecraftserver.console = new ColouredConsoleSender(minecraftserver.server);
minecraftserver.console = ColouredConsoleSender.getInstance();
this.cserver = minecraftserver.server;
// CraftBukkit end