mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-28 15:56:02 +00:00
Compatibility level is now passed from server to client - and
the client tracks it. This means certain packet changes can be made without breaking comms, hopefully
This commit is contained in:
1 parent
4f70d23d0e
commit
16fe495d18
5 files changed
+54
-8
No files matched your search
@@ -409,4 +409,10 @@ public class FMLClientHandler implements IFMLSidedHandler
|
||||
{
|
||||
((NetClientHandler)handler).fmlPacket131Callback(mapData);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCompatibilityLevel(NetHandler netHandler, byte compatibilityLevel)
|
||||
{
|
||||
((NetClientHandler)netHandler).setConnectionCompatibilityLevel(compatibilityLevel);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user