cleanup some MC

This commit is contained in:
Fabian Dill 2021-07-12 18:16:03 +02:00
parent f456dba993
commit 741ab3e45c
1 changed files with 1 additions and 4 deletions

View File

@ -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