Backwards compat for Dynmap-Factions
This commit is contained in:
parent
5db20e9625
commit
b4ea5228ec
@ -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
|
||||
//----------------------------------------------//
|
||||
|
Loading…
Reference in New Issue
Block a user