From 06d22549e2c5151ba18111f844f7135735cf2fff Mon Sep 17 00:00:00 2001 From: Olof Larsson Date: Fri, 27 Apr 2012 20:29:41 +0200 Subject: [PATCH] Added in some deprecated methods for backwards-compat. --- src/com/massivecraft/factions/Faction.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/com/massivecraft/factions/Faction.java b/src/com/massivecraft/factions/Faction.java index d3243678..eea70450 100644 --- a/src/com/massivecraft/factions/Faction.java +++ b/src/com/massivecraft/factions/Faction.java @@ -534,6 +534,22 @@ public class Faction extends Entity implements EconomyParticipator return this.getFlag(FFlag.EXPLOSIONS); } + /** + * @deprecated As of release 1.7, replaced by {@link #getFlag()} + */ + public boolean noExplosionsInTerritory() + { + return ! this.getFlag(FFlag.EXPLOSIONS); + } + + /** + * @deprecated As of release 1.7, replaced by {@link #getFlag()} + */ + public boolean isSafeZone() + { + return ! this.getFlag(FFlag.EXPLOSIONS); + } + //----------------------------------------------// // Persistance and entity management //----------------------------------------------//