Limited the results of the inventory of a shop for the ?info command.

doc_update
Joey Hines 2018-09-12 16:47:40 -05:00
parent ede95f5d1f
commit 4911358dc3
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ class Shop(Location):
def inv_to_str(self):
if len(self.inventory.all()) != 0:
if len(self.inventory.limit(25).all()) != 0:
inv = '\n**Inventory**:'
str_format = '{}\n{}'