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