mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-12-04 12:51:09 -05:00
64410dbe48
With the way this lib used to previously work, any time the protocol state changed, all the packet maps got cleared and had new packets inserted into them depending on the protocol state. This was unnecessarily expensive and although called rarely, it was not ideal. The packet codecs added are static, immutable and can be reused across sessions. The codec system also opens up the door for multi-version capability in the future. |
||
---|---|---|
.. | ||
com/github/steveice10/mc/protocol/test |