mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Witness: Fix 2 generation crashes (#2043)
* Fix for error in get_early_items when removing plandoed items. * Fix Early Caves * Remove unnecessary list() call * Update worlds/witness/items.py Co-authored-by: Fabian Dill <Berserker66@users.noreply.github.com> --------- Co-authored-by: blastron <blastron@mac.com> Co-authored-by: Fabian Dill <Berserker66@users.noreply.github.com>
This commit is contained in:
@@ -128,6 +128,7 @@ class WitnessWorld(World):
|
||||
item_pool.pop(inventory_item_name)
|
||||
else:
|
||||
item_pool[inventory_item_name] -= 1
|
||||
self.multiworld.push_precollected(self.create_item(inventory_item_name))
|
||||
|
||||
if len(item_pool) > pool_size:
|
||||
error_string = "The Witness world has too few locations ({num_loc}) to place its necessary items " \
|
||||
|
||||
Reference in New Issue
Block a user