Fix ClientMovementPredictionSync packet
This commit is contained in:
17
legacyver/proto/entity_metadata.go
Normal file
17
legacyver/proto/entity_metadata.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user