From 6d61eae52239a07d584e127123f94e24924aaa68 Mon Sep 17 00:00:00 2001 From: Sunny Bat Date: Fri, 15 Sep 2023 00:30:46 -0700 Subject: [PATCH] Raft: Fix test_collect_remove (#2109) --- worlds/raft/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/worlds/raft/__init__.py b/worlds/raft/__init__.py index d00b5faa..fec60c3b 100644 --- a/worlds/raft/__init__.py +++ b/worlds/raft/__init__.py @@ -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: