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) if (building == null)
return; return;
building.upgradeDateTime = LocalDateTime.now().plusMinutes(5);
if (building.getUpgradeDateTime() == null) { if (building.getUpgradeDateTime() == null) {
Logger.error("Attempt to submit upgrade job for non-ranking building"); Logger.error("Attempt to submit upgrade job for non-ranking building");
return; return;
@@ -800,7 +800,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
treeObject.setObjectTypeMask(MBServerStatics.MASK_BUILDING); treeObject.setObjectTypeMask(MBServerStatics.MASK_BUILDING);
treeObject.setParentZone(zoneObject); treeObject.setParentZone(zoneObject);
MaintenanceManager.setMaintDateTime(treeObject, LocalDateTime.now().plusDays(7)); MaintenanceManager.setMaintDateTime(treeObject, LocalDateTime.now().plusDays(14));
// Update guild binds and tags // Update guild binds and tags
//load the new city on the clients //load the new city on the clients