Raft: Fix test_collect_remove (#2109)

This commit is contained in:
Sunny Bat 2023-09-15 00:30:46 -07:00 committed by GitHub
parent f05a9ecd2f
commit 6d61eae522
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -138,6 +138,8 @@ class RaftWorld(World):
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: