Added logging.

This commit is contained in:
lieght
2025-09-10 21:21:20 +02:00
parent a80cd5aca1
commit de66133b66
9 changed files with 136 additions and 73 deletions

View File

@@ -156,6 +156,7 @@ public class Server {
}
private void initEvents() {
GlobalEventBus.subscribeAndRegister(Events.ServerEvents.command.class, e -> this.sendCommand(e.command(), e.args()));
GlobalEventBus.subscribeAndRegister(Events.ServerEvents.changeServerIp.class, e -> this.setIp(e.ip()));
GlobalEventBus.subscribeAndRegister(Events.ServerEvents.changeServerPort.class, e -> this.setPort(e.port()));
}