New network system

This commit is contained in:
2024-01-02 15:16:13 +02:00
parent 1dad912ec1
commit 0813bc416c
30 changed files with 517 additions and 107 deletions

View File

@@ -23,7 +23,8 @@ public class NeoForgeCommonHelper implements CommonPlatform {
@Override
public CraterNetworkHandler createPacketHandler(String modid, boolean requiredClient, boolean requiredServer) {
return NeoForgeNetworkHandler.of(modid, requiredClient, requiredServer);
return new NeoForgeNetworkHandler(modid, requiredClient, requiredServer);
//return NeoForgeNetworkHandler.of(modid, requiredClient, requiredServer);
}
@Override