1
mirror of https://github.com/thepeacockproject/Peacock synced 2024-11-22 22:12:45 +01:00

Remove unwanted contract creation locations (#100)

* Fix contract creation locations

* allow mamushi contract creation

* Update destinations.ts

Signed-off-by: Reece Dunham <me@rdil.rocks>

---------

Signed-off-by: Reece Dunham <me@rdil.rocks>
Co-authored-by: Reece Dunham <me@rdil.rocks>
This commit is contained in:
moonysolari 2023-02-01 18:44:32 -05:00 committed by GitHub
parent 1d1e359b3a
commit a551d30067
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -175,6 +175,13 @@ export function createLocationsData(
}
for (const sublocationId of allSublocationIds) {
if (
sublocationId === "LOCATION_TRAPPED_WOLVERINE" ||
sublocationId.includes("SNUG")
) {
continue
}
const sublocation = locData.children[sublocationId]
const parentLocation =
locData.parents[sublocation.Properties.ParentLocation]