From 90e9f35fead2b7b5a3c66f76e58b777db171b0d6 Mon Sep 17 00:00:00 2001 From: Brettflan Date: Sun, 11 Mar 2012 22:44:39 -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 b2887a5b..bf6c6211 100644 --- a/src/com/massivecraft/factions/FPlayer.java +++ b/src/com/massivecraft/factions/FPlayer.java @@ -790,7 +790,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())