[Memory-opti:fix leak] Fix WorldServer leak in NEIServerConfig (#815)

This commit is contained in:
Alexdoru authored and GitHub committed 2025-12-16 19:44:15 +00:00
1 parent eac913c80c
commit 2ba0773401
3 files changed
+18 -11

No files matched your search

@@ -21,10 +21,8 @@ import cpw.mods.fml.common.gameevent.TickEvent.Phase;
public class ServerHandler {
private static ServerHandler instance;
public static void load() {
instance = new ServerHandler();
ServerHandler instance = new ServerHandler();
PacketCustom.assignHandler(NEICPH.channel, new NEISPH());
FMLCommonHandler.instance().bus().register(instance);