5 minute upgrades for initial placement
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user