Fix ghost players who appear if they don't have the 4096 fix installed

This commit is contained in:
Christian 2012-06-28 13:44:07 -04:00
parent 7f832b4504
commit 59a783e8b9

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)
{ {