minor cleanup; made econLandReward default to 0, disabled

This commit is contained in:
Brettflan 2013-01-26 19:59:00 -06:00
parent 204c78886f
commit 8fdd07b08f
2 changed files with 3 additions and 2 deletions

View File

@ -238,8 +238,7 @@ public class Conf
public static double econCostEnemy = 0.0; public static double econCostEnemy = 0.0;
public static int econLandRewardTaskRunsEveryXMinutes = 20; public static int econLandRewardTaskRunsEveryXMinutes = 20;
public static double econLandReward = 0.03; public static double econLandReward = 0.00;
public static double econLandRevertEnemyReward = 25.0;
//Faction banks, to pay for land claiming and other costs instead of individuals paying for them //Faction banks, to pay for land claiming and other costs instead of individuals paying for them
public static boolean bankEnabled = true; public static boolean bankEnabled = true;

View File

@ -263,6 +263,8 @@ public class Factions extends EntityCollection<Faction>
public void econLandRewardRoutine() public void econLandRewardRoutine()
{ {
if ( ! Econ.shouldBeUsed()) return;
P.p.log("Running econLandRewardRoutine..."); P.p.log("Running econLandRewardRoutine...");
for (Faction faction : this.get()) for (Faction faction : this.get())
{ {