Blocked access to ColouredConsoleSenders constructor, implemented getConsoleSender
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -839,4 +839,8 @@ public final class CraftServer implements Server {
|
||||
((CraftWorld)world).getHandle().worldData.setGameType(mode.getValue());
|
||||
}
|
||||
}
|
||||
|
||||
public ConsoleCommandSender getConsoleSender() {
|
||||
return console.console;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user