Unable to deserialize a PacketContainer
Mr-EmPee opened this issue ยท 0 comments
- This issue is not solved in a development build
Describe the bug
It seems that when you try to deserialize a PacketContainer it fails to do so.
To Reproduce
Serialize a packetContainer,
Reload / Restart the server
Deserialize it (Exception)
Expected behavior
Able to deserialize it
Version Info
ProtocolLib DUMP
How to fix it
It seems that when looking up the the clazz of a PacketType it fails to find it that's because the hashcode of the deserialized PacketType doesn't match with the hashCode of the packetType inside the registry.
This is expected behavior bc the specs doesn't guarantee the same hashcode for different executions