Merge pull request #94 from iChun/patch-1

Fix handleTinyPacket using short instead of int.
This commit is contained in:
cpw 2012-09-07 05:43:39 -07:00
commit 75c0e65092

View file

@ -340,7 +340,7 @@ public class NetworkRegistry
}
public void handleTinyPacket(NetHandler handler, Packet131MapData mapData)
{
NetworkModHandler nmh = FMLNetworkHandler.instance().findNetworkModHandler(mapData.field_73438_a);
NetworkModHandler nmh = FMLNetworkHandler.instance().findNetworkModHandler((int)mapData.field_73438_a);
if (nmh == null)
{
FMLLog.info("Received a tiny packet for network id %d that is not recognised here", mapData.field_73438_a);