From 066415e75223b7ae9e09a114433fd6752d46fef1 Mon Sep 17 00:00:00 2001 From: Brettflan Date: Sun, 24 Jul 2011 06:12:01 -0500 Subject: [PATCH] "claimsMustBeConnected" land claim requirement is now ignored for players who have enabled bypass mode --- src/com/massivecraft/factions/FPlayer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/massivecraft/factions/FPlayer.java b/src/com/massivecraft/factions/FPlayer.java index d1bb73c7..851e3752 100644 --- a/src/com/massivecraft/factions/FPlayer.java +++ b/src/com/massivecraft/factions/FPlayer.java @@ -458,7 +458,7 @@ public class FPlayer { } public boolean attemptClaim(boolean notifyFailure) { - // notifyFailure is false if called by auto-claim; not need to notify on every failure for it + // notifyFailure is false if called by auto-claim; no need to notify on every failure for it // return value is false on failure, true on success Faction myFaction = getFaction(); @@ -505,6 +505,7 @@ public class FPlayer { if ( Conf.claimsMustBeConnected + && !Conf.adminBypassPlayers.contains(this.playerName) && myFaction.getLandRoundedInWorld(flocation.getWorldName()) > 0 && !Board.isConnectedLocation(flocation, myFaction) && (!Conf.claimsCanBeUnconnectedIfOwnedByOtherFaction || !otherFaction.isNormal())