From 741ab3e45ce381218297a03c52e55ecefd5eda73 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Mon, 12 Jul 2021 18:16:03 +0200 Subject: [PATCH] cleanup some MC --- worlds/minecraft/__init__.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/worlds/minecraft/__init__.py b/worlds/minecraft/__init__.py index 6e16bb9f..40b1c48f 100644 --- a/worlds/minecraft/__init__.py +++ b/worlds/minecraft/__init__.py @@ -54,13 +54,10 @@ class MinecraftWorld(World): prefill_pool.update(exclusion_table[key]) for loc_name, item_name in prefill_pool.items(): - item_data = item_table[item_name] location = self.world.get_location(loc_name, self.player) item = self.create_item(item_name) - self.world.push_item(location, item, collect=False) + location.place_locked_item(item) pool.remove(item) - location.event = item_data.progression - location.locked = True self.world.itempool += pool