mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 00:22:08 -07:00
Blocked access to ColouredConsoleSenders constructor, implemented getConsoleSender
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