mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
LttP: fix Ganon's Tower trash prefill ignoring item_rules (#648)
This commit is contained in:
@@ -472,6 +472,7 @@ class ALTTPWorld(World):
|
|||||||
while gtower_locations and gt_item_pool and trash_count > 0:
|
while gtower_locations and gt_item_pool and trash_count > 0:
|
||||||
spot_to_fill = gtower_locations.pop()
|
spot_to_fill = gtower_locations.pop()
|
||||||
item_to_place = gt_item_pool.pop()
|
item_to_place = gt_item_pool.pop()
|
||||||
|
if spot_to_fill.item_rule(item_to_place):
|
||||||
if item_to_place in localrest:
|
if item_to_place in localrest:
|
||||||
localrest.remove(item_to_place)
|
localrest.remove(item_to_place)
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user