Added in some deprecated methods for backwards-compat.
This commit is contained in:
parent
e3a7188b0d
commit
06d22549e2
@ -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
|
||||
//----------------------------------------------//
|
||||
|
Loading…
Reference in New Issue
Block a user