Fix forge support - closes #312

This commit is contained in:
md_5 2013-05-04 09:40:10 +10:00
parent 8e262cf428
commit 5eb7a6eba7

View File

@ -139,7 +139,7 @@ public class ServerConnector extends PacketHandler
login.difficulty,
login.unused,
(byte) user.getPendingConnection().getListener().getTabListSize(),
secretkey != null ); // If we are encrypting, we must be Forge
ch.getHandle().pipeline().get( PacketDecoder.class ).getProtocol() == PacketDefinitions.FORGE_PROTOCOL );
user.sendPacket( modLogin );
} else
{