5 minute upgrades for initial placement

This commit is contained in:
2024-02-11 19:10:05 -06:00
parent 1b7be0365a
commit 03025e7f00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -258,7 +258,7 @@ public enum BuildingManager {
if (building == null)
return;
building.upgradeDateTime = LocalDateTime.now().plusMinutes(5);
if (building.getUpgradeDateTime() == null) {
Logger.error("Attempt to submit upgrade job for non-ranking building");
return;
@@ -800,7 +800,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
treeObject.setObjectTypeMask(MBServerStatics.MASK_BUILDING);
treeObject.setParentZone(zoneObject);
MaintenanceManager.setMaintDateTime(treeObject, LocalDateTime.now().plusDays(7));
MaintenanceManager.setMaintDateTime(treeObject, LocalDateTime.now().plusDays(14));
// Update guild binds and tags
//load the new city on the clients