mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-17 19:15:32 +00:00
Attempt to build some protocol negotiation, and fix packet1login so that the dimension is a short, matching packet9respawn
This commit is contained in:
1 parent
16fe495d18
commit
ecd4e46a45
7 files changed
+109
-19
No files matched your search
@@ -411,8 +411,16 @@ public class FMLClientHandler implements IFMLSidedHandler
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCompatibilityLevel(NetHandler netHandler, byte compatibilityLevel)
|
||||
public void setClientCompatibilityLevel(byte compatibilityLevel)
|
||||
{
|
||||
((NetClientHandler)netHandler).setConnectionCompatibilityLevel(compatibilityLevel);
|
||||
NetClientHandler.setConnectionCompatibilityLevel(compatibilityLevel);
|
||||
}
|
||||
|
||||
@Override
|
||||
public byte getClientCompatibilityLevel()
|
||||
{
|
||||
System.out.printf("Client Compatibility %d\n", NetClientHandler.getConnectionCompatibilityLevel());
|
||||
Thread.dumpStack();
|
||||
return NetClientHandler.getConnectionCompatibilityLevel();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user