mirror of
https://github.com/MassiveCraft/Factions.git
synced 2024-11-23 18:55:25 +01:00
Check correct config option for over claiming.
This commit is contained in:
parent
4414b1589f
commit
11757be50d
@ -700,7 +700,7 @@ public abstract class MemoryFPlayer implements FPlayer {
|
||||
error = P.p.txt.parse(TL.CLAIM_SAFEZONE.toString());
|
||||
} else if (currentFaction.isWarZone()) {
|
||||
error = P.p.txt.parse(TL.CLAIM_WARZONE.toString());
|
||||
} else if (P.p.getConfig().getBoolean("hcf.overclaim", true) && ownedLand >= forFaction.getPowerRounded()) {
|
||||
} else if (P.p.getConfig().getBoolean("hcf.allow-overclaim", true) && ownedLand >= forFaction.getPowerRounded()) {
|
||||
error = P.p.txt.parse(TL.CLAIM_POWER.toString());
|
||||
} else if (Conf.claimedLandsMax != 0 && ownedLand >= Conf.claimedLandsMax && forFaction.isNormal()) {
|
||||
error = P.p.txt.parse(TL.CLAIM_LIMIT.toString());
|
||||
|
Loading…
Reference in New Issue
Block a user