mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-23 00:23:21 -07:00
Compare commits
1 Commits
webhost_ot
...
plando-ite
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c54a711c27 |
@@ -1524,9 +1524,11 @@ class PlandoItems(Option[typing.List[PlandoItem]]):
|
|||||||
f"dictionary, not {type(items)}")
|
f"dictionary, not {type(items)}")
|
||||||
locations = item.get("locations", [])
|
locations = item.get("locations", [])
|
||||||
if not locations:
|
if not locations:
|
||||||
locations = item.get("location", ["Everywhere"])
|
locations = item.get("location", [])
|
||||||
if locations:
|
if locations:
|
||||||
count = 1
|
count = 1
|
||||||
|
else:
|
||||||
|
locations = ["Everywhere"]
|
||||||
if isinstance(locations, str):
|
if isinstance(locations, str):
|
||||||
locations = [locations]
|
locations = [locations]
|
||||||
if not isinstance(locations, list):
|
if not isinstance(locations, list):
|
||||||
|
|||||||
Reference in New Issue
Block a user