Error log added

This commit is contained in:
2023-10-20 08:09:42 -04:00
parent 4c994e6e55
commit 3a63f98ac3
+3
View File
@@ -928,6 +928,9 @@ public class Building extends AbstractWorldObject {
this.patrolPoints = BuildingManager._buildingPatrolPoints.computeIfAbsent(this.getObjectUUID(), k -> new ArrayList<>());
if (this.patrolPoints == null)
Logger.error("Null patrol points");
} else {
this.healthMax = 100000; // Structures with no blueprint mesh
this.setHealth(healthMax);