I think this rename makes sense.

This commit is contained in:
Olof Larsson 2013-04-18 21:03:38 +02:00
parent 18da8c1250
commit bf22f9e289
3 changed files with 4 additions and 4 deletions

View File

@ -110,7 +110,7 @@ public class Board extends Entity<Board> 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);

View File

@ -869,7 +869,7 @@ public class FPlayer extends SenderEntity<FPlayer> 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

View File

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