Fix ClientMovementPredictionSync packet

This commit is contained in:
AkmalFairuz
2025-12-11 08:58:27 +07:00
parent 151816f18d
commit 6700cb7f9b
3 changed files with 17 additions and 6 deletions

View File

@@ -39,7 +39,7 @@ func (c *Command) Marshal(r protocol.IO) {
if IsProtoGTE(r, ID898) {
r.String(&c.PermissionLevel)
} else {
permLevel := uint8(0)
permLevel := byte(0)
r.Uint8(&permLevel)
c.PermissionLevel = "any"
}