From 87125ed45dcb698f2861492d3f8b8a06c1d6fbfc Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 3 Dec 2023 10:20:53 -0600 Subject: [PATCH] hull 7 --- src/engine/gameManager/BuildingManager.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/engine/gameManager/BuildingManager.java b/src/engine/gameManager/BuildingManager.java index 9c10cbcf..51cbb3f8 100644 --- a/src/engine/gameManager/BuildingManager.java +++ b/src/engine/gameManager/BuildingManager.java @@ -1049,6 +1049,9 @@ public enum BuildingManager { building.meshes = new ArrayList<>(); + if(_hull_data.get(building.meshUUID) == null || _hull_data.get(building.meshUUID).size() < 1) + return; + for (Path2D.Float path : _hull_data.get(building.meshUUID)) { Path2D.Float translatedPath = new Path2D.Float(path);