Fix hidden item metadata bug

This commit is contained in:
2020-09-24 16:02:15 -06:00
parent 0e616dc7c1
commit 6b2df0c27e
4 changed files with 10 additions and 4 deletions
+3 -2
View File
@@ -510,15 +510,16 @@ class Game:
self.g.connection.write_packet(packet2)
def handle_spawn_object(self, packet):
return
if packet.type_id != 37: return
print(packet)
def handle_entity_metadata(self, packet):
return
if packet.metadata and packet.metadata[0].index == 1: return
if packet.metadata and packet.metadata[0].index != 7: return
print(packet)
def handle_spawn_living(self, packet):
return
print(packet)
def handle_entity_position(self, packet):