Open Johni0702 opened 1 year ago
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
readVarInt
value
int
long
Someone probably copy/pasted the
readVarInt
code and forgot to change thevalue
type fromint
tolong
. https://github.com/GeyserMC/PacketLib/blob/e21e6c4e86bd9755afaa2dda9fd0f2a52eae7f7e/src/main/java/com/github/steveice10/packetlib/codec/BasePacketCodecHelper.java#L129-L130