Fix ClientMovementPredictionSync packet

This commit is contained in:
AkmalFairuz
2025-12-11 12:24:48 +07:00
parent 6700cb7f9b
commit f32ad4cef8
3 changed files with 20 additions and 18 deletions

View File

@@ -0,0 +1,17 @@
package proto
func EntityDataFlagsLength(protoID int32) int {
if protoID >= ID898 {
return 127
}
if protoID >= ID844 {
return 126
}
if protoID >= ID818 {
return 125
}
if protoID >= ID786 {
return 123
}
return 120
}