suppress error msgs

This commit is contained in:
əlemi 2021-12-12 23:27:24 +01:00
parent 8933698bb8
commit 93aa573ed5

View file

@ -260,8 +260,7 @@ class Treepuncher(MinecraftClient):
for record in packet.data: for record in packet.data:
uid = record['UUID'] uid = record['UUID']
if packet.action != 0 and uid not in self.tablist: if packet.action != 0 and uid not in self.tablist:
self._logger.error("Received update for untracked UUID : %s", uid) continue # TODO this happens kinda often but doesn't seem to be an issue?
return
if packet.action == 0: if packet.action == 0:
self.tablist[uid] = record self.tablist[uid] = record
elif packet.action == 1: elif packet.action == 1: