From 9aa89a544c6b15b8f34d4ee1b1ebe3cd52437ac8 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 5 Nov 2023 12:43:35 -0500 Subject: [PATCH] db handler created --- src/engine/db/handlers/dbBuildingHandler.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/db/handlers/dbBuildingHandler.java b/src/engine/db/handlers/dbBuildingHandler.java index efa5e550..038ade68 100644 --- a/src/engine/db/handlers/dbBuildingHandler.java +++ b/src/engine/db/handlers/dbBuildingHandler.java @@ -573,8 +573,9 @@ public class dbBuildingHandler extends dbHandlerBase { if (BuildingManager._hull_data.get(propID) == null) { meshList = new ArrayList<>(); - BuildingManager._hull_data.put(propID, meshList); meshList.add(propID, vertArrayList); + BuildingManager._hull_data.put(propID, meshList); + } else { meshList = BuildingManager._hull_data.get(propID); meshList.add(propID, vertArrayList);