Skip to content

Commit

Permalink
Raft: Fix test_collect_remove (#2109)
Browse files Browse the repository at this point in the history
  • Loading branch information
SunnyBat authored Sep 15, 2023
1 parent f05a9ec commit 6d61eae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions worlds/raft/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ def create_resourcePack(self, rpName: str) -> Item:
return RaftItem(rpName, ItemClassification.filler, self.item_name_to_id[rpName], player=self.player)

def collect_item(self, state, item, remove=False):
if item.advancement is False:
return None
if item.name in progressive_item_list:
prog_table = progressive_item_list[item.name]
if remove:
Expand Down

0 comments on commit 6d61eae

Please sign in to comment.