[Memory-opti:fix leak] Fix world leak in Event class (#44)

Co-authored-by: Nikolay S. <[email protected]>
This commit is contained in:
AlexdoruandNikolay S. authored and GitHub committed 2025-12-16 19:39:17 +00:00
1 parent f635705888
commit 178013a9cd
9 files changed
+78 -65

No files matched your search

@@ -22,6 +22,7 @@ import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
import cpw.mods.fml.client.registry.RenderingRegistry;
import cpw.mods.fml.common.FMLCommonHandler;
import cpw.mods.fml.common.FMLLog;
import cpw.mods.fml.relauncher.Side;
import makeo.gadomancy.client.effect.EffectHandler;
import makeo.gadomancy.client.events.ClientHandler;
import makeo.gadomancy.client.events.RenderEventHandler;
@@ -310,4 +311,9 @@ public class ClientProxy extends CommonProxy {
public void runDelayedClientSide(Runnable run) {
this.clientActions.add(run);
}
@Override
public Side getSide() {
return Side.CLIENT;
}
}