From f852a185e408c8486eb94b955364c898b90f717c Mon Sep 17 00:00:00 2001 From: Athanasius Date: Thu, 10 Jun 2021 12:18:00 +0100 Subject: [PATCH] Backpack: 4.0.0.400 - Can still ignore this for inventory purposes --- monitor.py | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/monitor.py b/monitor.py index 19cebadc..0758cbd4 100644 --- a/monitor.py +++ b/monitor.py @@ -1073,21 +1073,8 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below pass elif event_type == 'DropItems': - # alpha4 - # Parameters: - # • Name - # • Type - # • OwnerID - # • MissionID - # • Count - - # This is handled by BackpackChange. - # for i in self.state['BackPack'][entry['Type']]: - # if i == entry['Name']: - # self.state['BackPack'][entry['Type']][i] -= entry['Count'] - # # Paranoia in case we lost track - # if self.state['BackPack'][entry['Type']][i] < 0: - # self.state['BackPack'][entry['Type']][i] = 0 + # 4.0.0.400 (still) has a BackpackChange event as well, so + # ignore this for inventory purposes. pass elif event_type == 'UseConsumable':