Fix for "econClaimUnconnectedFee" not working correctly

This commit is contained in:
Brettflan committed 2012-03-11 22:44:38 -05:00
1 parent b88430a628
commit fbdc0503ba
1 file changed
+1 -1
+1 -1
View File
@@ -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())