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

@@ -839,4 +839,8 @@ public final class CraftServer implements Server {
((CraftWorld)world).getHandle().worldData.setGameType(mode.getValue());
}
}
public ConsoleCommandSender getConsoleSender() {
return console.console;
}
}