mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-03 17:10:59 +03:00
Backpack: 4.0.0.400 - can still ignore CollectItems
This commit is contained in:
parent
2b1ca8031c
commit
8f05282d63
13
monitor.py
13
monitor.py
@ -1068,17 +1068,8 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
|
|||||||
self.state['BackPack'][c][m] = 0
|
self.state['BackPack'][c][m] = 0
|
||||||
|
|
||||||
elif event_type == 'CollectItems':
|
elif event_type == 'CollectItems':
|
||||||
# alpha4
|
# 4.0.0.400 (still) has a BackpackChange event as well, so
|
||||||
# When picking up items from the ground
|
# ignore this for inventory purposes.
|
||||||
# Parameters:
|
|
||||||
# • Name
|
|
||||||
# • Type
|
|
||||||
# • OwnerID
|
|
||||||
|
|
||||||
# Handled by BackpackChange
|
|
||||||
# for i in self.state['BackPack'][entry['Type']]:
|
|
||||||
# if i == entry['Name']:
|
|
||||||
# self.state['BackPack'][entry['Type']][i] += entry['Count']
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
elif event_type == 'DropItems':
|
elif event_type == 'DropItems':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user