diff --git a/gameshell.py b/gameshell.py index b66ce6b..863ce81 100644 --- a/gameshell.py +++ b/gameshell.py @@ -299,7 +299,7 @@ If -l is given, a map legend will be printed under the map.""" return def inv(self, args): - print('\n'.join([i for i in self.gameBase.player.thingNames])) + print('\n'.join([i.name for i in self.gameBase.player.inventory])) def newGame(self, args): if self.__inGame: