mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-21 12:42:26 +00:00
Exposed TileEntityData packet to TileEntities. And added helper sender function.
This commit is contained in:
1 parent
722fe597b8
commit
bb7eaf867f
6 files changed
+124
-25
No files matched your search
@@ -35,8 +35,9 @@ public class mod_MinecraftForge extends NetworkMod
|
||||
ForgeHooks.networkMods.put(x++, (NetworkMod)mod);
|
||||
}
|
||||
}
|
||||
//Add 131 to C->S list
|
||||
//Add 131 & 132 to C->S list
|
||||
((Set)ModLoader.getPrivateValue(Packet.class, null, 3)).add(131);
|
||||
((Set)ModLoader.getPrivateValue(Packet.class, null, 3)).add(132);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user