Refactoring StructureInstance

This commit is contained in:
ForestOfLight
2025-04-18 01:22:50 -07:00
Unverified
parent 35b7575d2f
commit 80aed5f349
16 changed files with 372 additions and 313 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ export class MenuForm {
async show(jumpToInstance = true) {
let instanceName;
if (jumpToInstance) {
instanceName = structureCollection.getStructure(this.player.dimension.id, this.player.location, { useLayers: false })?.name;
instanceName = structureCollection.getStructure(this.player.dimension.id, this.player.location, { useActiveLayer: false })?.name;
if (instanceName) {
new InstanceEditForm(this.player, instanceName);
return;