From fbdc0503ba2bf395d08edd71fc0f72a35aecacf3 Mon Sep 17 00:00:00 2001 From: Brettflan Date: Sun, 11 Mar 2012 22:44:38 -0500 Subject: [PATCH] Fix for "econClaimUnconnectedFee" not working correctly --- src/com/massivecraft/factions/FPlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/massivecraft/factions/FPlayer.java b/src/com/massivecraft/factions/FPlayer.java index e000c5f0..e4fe7ccb 100644 --- a/src/com/massivecraft/factions/FPlayer.java +++ b/src/com/massivecraft/factions/FPlayer.java @@ -641,7 +641,7 @@ public class FPlayer extends PlayerEntity implements EconomyParticipator { double cost = Econ.calculateClaimCost(ownedLand, currentFaction.isNormal()); - if (Conf.econClaimUnconnectedFee != 0.0 && forFaction.getLandRoundedInWorld(flocation.getWorldName()) > 0 && !Board.isConnectedLocation(flocation, currentFaction)) + if (Conf.econClaimUnconnectedFee != 0.0 && forFaction.getLandRoundedInWorld(flocation.getWorldName()) > 0 && !Board.isConnectedLocation(flocation, forFaction)) cost += Conf.econClaimUnconnectedFee; if(Conf.bankEnabled && Conf.bankFactionPaysLandCosts && this.hasFaction())