From bf22f9e2893c4824e3b55c1da1a6560ea3314f49 Mon Sep 17 00:00:00 2001 From: Olof Larsson Date: Thu, 18 Apr 2013 21:03:38 +0200 Subject: [PATCH] I think this rename makes sense. --- src/com/massivecraft/factions/Board.java | 2 +- src/com/massivecraft/factions/FPlayer.java | 2 +- src/com/massivecraft/factions/integration/LWCFeatures.java | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/com/massivecraft/factions/Board.java b/src/com/massivecraft/factions/Board.java index 6684989f..fa5869a6 100644 --- a/src/com/massivecraft/factions/Board.java +++ b/src/com/massivecraft/factions/Board.java @@ -110,7 +110,7 @@ public class Board extends Entity implements BoardInterface // NOTE: And this is probably the place where the event should be triggered! if (ConfServer.onUnclaimResetLwcLocks && LWCFeatures.getEnabled()) { - LWCFeatures.clearAllChests(ps); + LWCFeatures.clearAllProtections(ps); } this.map.remove(ps); diff --git a/src/com/massivecraft/factions/FPlayer.java b/src/com/massivecraft/factions/FPlayer.java index 27482e63..d52bf694 100644 --- a/src/com/massivecraft/factions/FPlayer.java +++ b/src/com/massivecraft/factions/FPlayer.java @@ -869,7 +869,7 @@ public class FPlayer extends SenderEntity implements EconomyParticipato // TODO: The LWC integration should listen to Monitor for the claim event. if (LWCFeatures.getEnabled() && forFaction.isNormal() && ConfServer.onCaptureResetLwcLocks) { - LWCFeatures.clearOtherChests(flocation, this.getFaction()); + LWCFeatures.clearOtherProtections(flocation, this.getFaction()); } // announce success diff --git a/src/com/massivecraft/factions/integration/LWCFeatures.java b/src/com/massivecraft/factions/integration/LWCFeatures.java index 62a905d8..49cf2b3d 100644 --- a/src/com/massivecraft/factions/integration/LWCFeatures.java +++ b/src/com/massivecraft/factions/integration/LWCFeatures.java @@ -38,7 +38,7 @@ public class LWCFeatures } - public static void clearAllChests(PS chunkPs) + public static void clearAllProtections(PS chunkPs) { for (Protection protection : getProtectionsInChunk(chunkPs)) { @@ -46,7 +46,7 @@ public class LWCFeatures } } - public static void clearOtherChests(PS chunkPs, Faction faction) + public static void clearOtherProtections(PS chunkPs, Faction faction) { for (Protection protection : getProtectionsInChunk(chunkPs)) {