Removed unused network hooks

This commit is contained in:
Frank 2021-08-11 00:04:37 +02:00
parent e06543dac6
commit 49e833e147

View file

@ -108,12 +108,12 @@ abstract public class DataExchange {
protected void initClientside(){
if (client!=null) return;
client = clientSupplier(this);
ClientLoginConnectionEvents.INIT.register((a, b) ->{
/*ClientLoginConnectionEvents.INIT.register((a, b) ->{
System.out.println("INIT");
});
ClientLoginConnectionEvents.QUERY_START.register((a, b) ->{
System.out.println("INIT");
});
});*/
ClientPlayConnectionEvents.INIT.register(client::onPlayInit);
ClientPlayConnectionEvents.JOIN.register(client::onPlayReady);
ClientPlayConnectionEvents.DISCONNECT.register(client::onPlayDisconnect);