mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-23 21:49:46 +00:00
Added SideTransformer to strip side only functions/fields out.
This commit is contained in:
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);
|
||||
+ }
|
||||
}
|
||||
Reference in new issue
Block a user