|
|
@ -967,7 +967,7 @@ public enum BuildingManager { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static void bakeNavMesh(Building building) { |
|
|
|
public static void bakeNavMesh(Building building) { |
|
|
|
|
|
|
|
building.meshes = new ArrayList<>(); |
|
|
|
if (building.parentZone == null) { |
|
|
|
if (building.parentZone == null) { |
|
|
|
Logger.error("Attempt to bake navmesh with no parent: " + building.getObjectUUID()); |
|
|
|
Logger.error("Attempt to bake navmesh with no parent: " + building.getObjectUUID()); |
|
|
|
return; |
|
|
|
return; |
|
|
|