|
|
@ -1885,8 +1885,7 @@ public class Mob extends AbstractIntelligenceAgent { |
|
|
|
if (!building.transferGold(-rankCost, false)) |
|
|
|
if (!building.transferGold(-rankCost, false)) |
|
|
|
return; |
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
|
//DateTime dateToUpgrade = DateTime.now().plusHours(Mob.getUpgradeTime(this));
|
|
|
|
DateTime dateToUpgrade = DateTime.now().plusHours(Mob.getUpgradeTime(this)); |
|
|
|
DateTime dateToUpgrade = DateTime.now().plusMinutes(5); |
|
|
|
|
|
|
|
Mob.setUpgradeDateTime(this, dateToUpgrade); |
|
|
|
Mob.setUpgradeDateTime(this, dateToUpgrade); |
|
|
|
|
|
|
|
|
|
|
|
// Schedule upgrade job
|
|
|
|
// Schedule upgrade job
|
|
|
|