Updated config usage, added Faction.isNormal()

This commit is contained in:
Patrick 2012-01-15 12:53:00 -05:00
parent c2f0f5ad51
commit 44266f14bf

View File

@ -792,7 +792,7 @@ public class FPlayer extends PlayerEntity implements EconomyParticipator
}
}
if (LWCFeatures.getEnabled()&& ! forFaction.isSafeZone() && ! forFaction.isWarZone() && Board.getIdAt(flocation) != "0")
if (LWCFeatures.getEnabled() && forFaction.isNormal() && Conf.onCaptureResetLwcLocks)
{
LWCFeatures.clearOtherChests(flocation, this.getFaction());
}