PacketLib
PacketLib copied to clipboard
`readVarLong` returns incorrect result for large values
Someone probably copy/pasted the readVarInt code and forgot to change the value type from int to long.
https://github.com/GeyserMC/PacketLib/blob/e21e6c4e86bd9755afaa2dda9fd0f2a52eae7f7e/src/main/java/com/github/steveice10/packetlib/codec/BasePacketCodecHelper.java#L129-L130