Core: Plando Items "Rewrite" (#3046)
This commit is contained in:
@@ -66,11 +66,8 @@ def get_plando_locations(world: World) -> List[str]:
|
||||
if world is None:
|
||||
return []
|
||||
plando_locations = []
|
||||
for plando_setting in world.multiworld.plando_items[world.player]:
|
||||
plando_locations += plando_setting.get("locations", [])
|
||||
plando_setting_location = plando_setting.get("location", None)
|
||||
if plando_setting_location is not None:
|
||||
plando_locations.append(plando_setting_location)
|
||||
for plando_setting in world.options.plando_items:
|
||||
plando_locations += plando_setting.locations
|
||||
|
||||
return plando_locations
|
||||
|
||||
|
||||
Reference in New Issue
Block a user