Fixed autoclaim

This commit is contained in:
Harry Jeffery 2011-09-26 22:11:07 +01:00
parent d718e8bddc
commit 5eaf9c6835

View File

@ -217,11 +217,6 @@ public class FactionsPlayerListener extends PlayerListener{
me.sendMessage("You can't claim more land! You need more power!");
me.enableAutoClaim(false);
}
else if (!Econ.canAfford(player.getName(), cost)) {
String costString = Econ.moneyString(cost);
me.sendMessage("Claiming this land will cost "+costString+", which you can't currently afford.");
me.enableAutoClaim(false);
}
else
me.attemptClaim(false);
}