diff --git a/src/com/massivecraft/factions/Faction.java b/src/com/massivecraft/factions/Faction.java index a82a59b0..cfe05c4a 100644 --- a/src/com/massivecraft/factions/Faction.java +++ b/src/com/massivecraft/factions/Faction.java @@ -445,6 +445,33 @@ public class Faction extends Entity implements EconomyParticipator } } + //----------------------------------------------// + // Deprecated + //----------------------------------------------// + /** + * @deprecated As of release 1.7, replaced by {@link #getFPlayerLeader()} + */ + public FPlayer getFPlayerAdmin() + { + return getFPlayerLeader(); + } + + /** + * @deprecated As of release 1.7, replaced by {@link #getFlag()} + */ + public boolean isPeaceful() + { + return this.getFlag(FFlag.PEACEFUL); + } + + /** + * @deprecated As of release 1.7, replaced by {@link #getFlag()} + */ + public boolean getPeacefulExplosionsEnabled() + { + return this.getFlag(FFlag.EXPLOSIONS); + } + //----------------------------------------------// // Persistance and entity management //----------------------------------------------//