Skip to content

Commit

Permalink
Fix for str not being returned in get_filler_item_name()
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbrq committed Jul 28, 2024
1 parent a822f2a commit 0172f7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worlds/mlss/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def create_item(self, name: str) -> MLSSItem:
return MLSSItem(item.itemName, item.classification, item.code, self.player)

def get_filler_item_name(self) -> str:
return self.random.choice(list(filter(lambda item: item.classification == ItemClassification.filler, itemList)))
return self.random.choice(list(filter(lambda item: item.classification == ItemClassification.filler, itemList))).itemName

def generate_output(self, output_directory: str) -> None:
patch = MLSSProcedurePatch(player=self.player, player_name=self.multiworld.player_name[self.player])
Expand Down

0 comments on commit 0172f7c

Please sign in to comment.