Plando Items: Better Warning for Nonexisting Worlds (#5112)

This commit is contained in:
Exempt-Medic
2025-06-14 09:28:02 -04:00
committed by GitHub
parent aa9e617510
commit ec5b4e704f

View File

@@ -890,7 +890,7 @@ def parse_planned_blocks(multiworld: MultiWorld) -> dict[int, list[PlandoItemBlo
worlds = set()
for listed_world in target_world:
if listed_world not in world_name_lookup:
failed(f"Cannot place item to {target_world}'s world as that world does not exist.",
failed(f"Cannot place item to {listed_world}'s world as that world does not exist.",
block.force)
continue
worlds.add(world_name_lookup[listed_world])