Blocked access to ColouredConsoleSenders constructor, implemented getConsoleSender

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
CraftBukkit/Spigot
2011-09-24 23:14:13 +01:00
parent 86526921b7
commit 7cddc13d28
2 changed files with 14 additions and 1 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;
}
}