From ee4009bf8dff7f3c5ac535a4fd8f5853862af168 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Wed, 18 Oct 2023 09:13:11 -0400 Subject: [PATCH] Refactored Zone to new system --- src/engine/objects/Zone.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/engine/objects/Zone.java b/src/engine/objects/Zone.java index 49415c24..207cff18 100644 --- a/src/engine/objects/Zone.java +++ b/src/engine/objects/Zone.java @@ -215,6 +215,9 @@ public class Zone extends AbstractWorldObject { this.parent = ZoneManager.getZoneByUUID(parentZoneID); + if (parent != null) + parent.addNode(this); + // Seafloor if (ZoneManager.seaFloor.equals(this)) {