mirror of
https://github.com/MassiveCraft/Factions.git
synced 2024-11-27 20:59:16 +01:00
Fixed autoclaim
This commit is contained in:
parent
d718e8bddc
commit
5eaf9c6835
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user