From d08316d6f3b30aa84598c0e8c6506ed8939bce29 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Tue, 27 Jun 2023 16:50:38 -0400 Subject: [PATCH] Ruins or SDR driven by config. --- src/engine/gameManager/ZoneManager.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/engine/gameManager/ZoneManager.java b/src/engine/gameManager/ZoneManager.java index be9f5dde..8802744e 100644 --- a/src/engine/gameManager/ZoneManager.java +++ b/src/engine/gameManager/ZoneManager.java @@ -103,8 +103,7 @@ public enum ZoneManager { ZoneManager.zonesByID.put(zoneID, zone); - if (zone != null) - ZoneManager.zonesByUUID.put(zone.getObjectUUID(), zone); + ZoneManager.zonesByUUID.put(zone.getObjectUUID(), zone); ZoneManager.zonesByName.put(zone.getName().toLowerCase(), zone);