fixed an issue with mc 1.8.8 where velocity is not being sent and self.data is negative
This commit is contained in:
1 parent
6fbf75203c
commit
cc466bb0ea
1 file changed
+1
-1
@@ -995,7 +995,7 @@ class ClientSpawnObject(Packet):
|
||||
self.data = Integer.read(file_object)
|
||||
|
||||
if self._context.protocol_version < 49:
|
||||
if self.data != 0:
|
||||
if self.data > 0:
|
||||
self.velocity_x = Short.read(file_object)
|
||||
self.velocity_y = Short.read(file_object)
|
||||
self.velocity_z = Short.read(file_object)
|
||||
|
||||
Reference in new issue
Block a user