mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 04:01:32 -06:00
Core: update error message for mismatched "event" placements #4043
This commit is contained in:
2
Main.py
2
Main.py
@@ -282,7 +282,7 @@ def main(args, seed=None, baked_server_options: Optional[Dict[str, object]] = No
|
|||||||
if type(location.address) == int:
|
if type(location.address) == int:
|
||||||
assert location.item.code is not None, "item code None should be event, " \
|
assert location.item.code is not None, "item code None should be event, " \
|
||||||
"location.address should then also be None. Location: " \
|
"location.address should then also be None. Location: " \
|
||||||
f" {location}"
|
f" {location}, Item: {location.item}"
|
||||||
assert location.address not in locations_data[location.player], (
|
assert location.address not in locations_data[location.player], (
|
||||||
f"Locations with duplicate address. {location} and "
|
f"Locations with duplicate address. {location} and "
|
||||||
f"{locations_data[location.player][location.address]}")
|
f"{locations_data[location.player][location.address]}")
|
||||||
|
Reference in New Issue
Block a user