Fix hidden item metadata bug
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user