Added SideTransformer to strip side only functions/fields out.

This commit is contained in:
LexManos committed 2012-08-08 18:53:41 -07:00
1 parent b177aad1ee
commit 6ec3379153
8 files changed
+252 -15

No files matched your search

@@ -0,0 +1,21 @@
--- ../src-base/common/net/minecraft/src/EntityPlayer.java
+++ ../src-work/common/net/minecraft/src/EntityPlayer.java
@@ -2,6 +2,8 @@
import cpw.mods.fml.common.Side;
import cpw.mods.fml.common.asm.SideOnly;
+import cpw.mods.fml.common.network.FMLNetworkHandler;
+
import java.util.Iterator;
import java.util.List;
@@ -1608,4 +1610,9 @@
{
return this.field_71078_a;
}
+
+ public void openGui(Object mod, int modGuiId, World world, int x, int y, int z)
+ {
+ FMLNetworkHandler.openGui(this, mod, modGuiId, world, x, y, z);
+ }
}