Fix forge support - closes #312
This commit is contained in:
parent
8e262cf428
commit
5eb7a6eba7
@ -139,7 +139,7 @@ public class ServerConnector extends PacketHandler
|
|||||||
login.difficulty,
|
login.difficulty,
|
||||||
login.unused,
|
login.unused,
|
||||||
(byte) user.getPendingConnection().getListener().getTabListSize(),
|
(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 );
|
user.sendPacket( modLogin );
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user