mirror of
https://github.com/GTNewHorizons/Gadomancy.git
synced 2026-11-19 11:49:24 +00:00
[Memory-opti:fix leak] Fix world leak in Event class (#44)
Co-authored-by: Nikolay S. <[email protected]>
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user