From cc466bb0ea8188abfa295f9f8ad639ac97f41342 Mon Sep 17 00:00:00 2001 From: TheSnoozer Date: Thu, 3 Aug 2017 00:51:41 +0200 Subject: [PATCH] fixed an issue with mc 1.8.8 where velocity is not being sent and self.data is negative --- minecraft/networking/packets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minecraft/networking/packets.py b/minecraft/networking/packets.py index fbc694c..7bb1b39 100644 --- a/minecraft/networking/packets.py +++ b/minecraft/networking/packets.py @@ -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)