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);