From 7a0ab7e56334b1fddde118565c135b4abbfb9e1a Mon Sep 17 00:00:00 2001 From: iChun Date: Fri, 7 Sep 2012 18:35:26 +0800 Subject: [PATCH] Fix handleTinyPacket using short instead of int. Silly cpw :P --- fml/common/cpw/mods/fml/common/network/NetworkRegistry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fml/common/cpw/mods/fml/common/network/NetworkRegistry.java b/fml/common/cpw/mods/fml/common/network/NetworkRegistry.java index f46dc1240..d4b65e348 100644 --- a/fml/common/cpw/mods/fml/common/network/NetworkRegistry.java +++ b/fml/common/cpw/mods/fml/common/network/NetworkRegistry.java @@ -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);