prevent structureVerifier from having multiple instances

This commit is contained in:
ForestOfLight
2025-06-04 19:05:44 -07:00
Unverified
parent 6ad128cc9c
commit 7b0afc529d
4 changed files with 19 additions and 6 deletions
@@ -149,7 +149,7 @@ export class StructureInstance {
}
hasLocation() {
return this.options.dimensionId && this.options.worldLocation.x !== 0 && this.options.worldLocation.y !== 0 && this.options.worldLocation.z !== 0;
return this.options.dimensionId && (this.options.worldLocation.x !== 0 || this.options.worldLocation.y !== 0 || this.options.worldLocation.z !== 0);
}
hasLayers() {