Enable inventory item setting for python3
This commit is contained in:
parent
2030e08db3
commit
8fb6410097
|
@ -45,3 +45,6 @@ class Inventory():
|
|||
# hint for pylint: this is dictionary like object
|
||||
def __getitem__(self, key):
|
||||
return self._realInventory[key]
|
||||
|
||||
def __setitem__(self, key, value):
|
||||
self._realInventory[key] = value
|
||||
|
|
Reference in New Issue
Block a user