commit entity-modify-player-inventory
This commit is contained in:
1 parent
7b5c411c8d
commit
fc5076d054
4 files changed
+56
-14
No files matched your search
@@ -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