commit entity-modify-player-inventory
This commit is contained in:
@@ -9,6 +9,9 @@ class Inventory(Serializable):
|
||||
|
||||
def current_capacity(self):
|
||||
return len(self.items)
|
||||
|
||||
def is_full(self):
|
||||
return self.current_capacity() >= self.max_capacity
|
||||
|
||||
def list_items(self):
|
||||
s_items = ''
|
||||
|
||||
Reference in New Issue
Block a user