log null blueprint in destroy city thread

This commit is contained in:
2026-01-08 12:38:42 -06:00
parent 5511dc7899
commit 28836a7a4f
@@ -95,6 +95,12 @@ public class DestroyCityThread implements Runnable {
if (cityBuilding == null)
continue;
// check null bluepritn and log error
if (cityBuilding.getBlueprint() == null){
Logger.error("Null Blueprint for building ID: " + cityBuilding.getObjectUUID());
continue;
}
// Do nothing with the banestone. It will be removed elsewhere
if (cityBuilding.getBlueprint().getBuildingGroup().equals(mbEnums.BuildingGroup.BANESTONE))