@SubscribeEvent public void onConnectionOpened(ClientConnectedToServerEvent event) { if (!event.isLocal) { ConnectionEvents.clientConnected = true; } MapUtil.resetClient(); }
@SubscribeEvent public void onConnectionOpened(ClientConnectedToServerEvent event) { // stolen from GC... if (!event.isLocal) { clientConnected = true; } MapUtil.resetClient(); }
@SubscribeEvent public void onClientConnect(ClientConnectedToServerEvent e) { }
@SubscribeEvent public void onClientConnect(ClientConnectedToServerEvent event) { }
@SubscribeEvent public void onConnect(@SuppressWarnings("unused") ClientConnectedToServerEvent event) { ServerHelper.currentIP = ""; }