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)) {