mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-15 00:07:39 -04:00
Added maintenance task for buildings
This commit is contained in:
@@ -205,6 +205,8 @@ public class ObjectService implements INetworkDispatch {
|
||||
sign.initAfterDBLoad();
|
||||
objectList.put(sign.getObjectID(), sign);
|
||||
}
|
||||
if(building.getAttachment("structureOwner") != null && ((BuildingObject) building).getMaintenanceAmount() > 0)
|
||||
core.housingService.startMaintenanceTask((BuildingObject) building);
|
||||
}
|
||||
|
||||
cursor.close();
|
||||
|
||||
Reference in New Issue
Block a user