Merge pull request #93 from cpw/fixghost4096

Fix ghost players who appear if they don't have the 4096 fix installed
This commit is contained in:
LexManos 2012-06-28 12:45:01 -07:00
commit dd5d3256d4

View file

@ -58,6 +58,7 @@ public class PacketHandlerServer extends PacketHandlerBase
if (!pkt.has4096) if (!pkt.has4096)
{ {
net.kickPlayer("Must have Forge build #136+ (4096 fix) to connect to this server"); net.kickPlayer("Must have Forge build #136+ (4096 fix) to connect to this server");
return;
} }
if (pkt.Mods.length == 0) if (pkt.Mods.length == 0)
{ {