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.sendMessage("You can't claim more land! You need more power!");
|
||||||
me.enableAutoClaim(false);
|
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
|
else
|
||||||
me.attemptClaim(false);
|
me.attemptClaim(false);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user