Log which player's plando has caused a placement failure
This commit is contained in:
parent
1e0b44bdc5
commit
59a56c803a
3
Fill.py
3
Fill.py
|
@ -367,6 +367,7 @@ def distribute_planned(world: MultiWorld):
|
|||
world_name_lookup = world.world_name_lookup
|
||||
|
||||
for player in world.player_ids:
|
||||
try:
|
||||
placement: PlandoItem
|
||||
for placement in world.plando_items[player]:
|
||||
if placement.location in key_drop_data:
|
||||
|
@ -433,3 +434,5 @@ def distribute_planned(world: MultiWorld):
|
|||
world.itempool.remove(item)
|
||||
except ValueError:
|
||||
placement.warn(f"Could not remove {item} from pool as it's already missing from it.")
|
||||
except Exception as e:
|
||||
raise Exception(f"Error running plando for player {player} ({world.player_names[player]})") from e
|
||||
|
|
Loading…
Reference in New Issue