bugfix in db handler

This commit is contained in:
2023-11-05 12:51:40 -05:00
parent c81c910019
commit 45e9311822
@@ -573,12 +573,12 @@ public class dbBuildingHandler extends dbHandlerBase {
if (BuildingManager._hull_data.get(propID) == null) { if (BuildingManager._hull_data.get(propID) == null) {
meshList = new ArrayList<>(); meshList = new ArrayList<>();
meshList.add(propID, vertArrayList); meshList.add(vertArrayList);
BuildingManager._hull_data.put(propID, meshList); BuildingManager._hull_data.put(propID, meshList);
} else { } else {
meshList = BuildingManager._hull_data.get(propID); meshList = BuildingManager._hull_data.get(propID);
meshList.add(propID, vertArrayList); meshList.add(vertArrayList);
} }
} }