Blocked access to ColouredConsoleSenders constructor, implemented getConsoleSender

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

No files matched your search

@@ -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