Remove deprecated methods

This commit is contained in:
Magnus Ulf 2021-03-13 09:12:13 +01:00
parent 9ba801e8e4
commit 5e12f1aa3a

View File

@ -454,32 +454,6 @@ public class Faction extends Entity<Faction> implements FactionsParticipator, MP
this.money = this.convertSet(money, this.money, 0D);
}
// -------------------------------------------- //
// FIELD: open
// -------------------------------------------- //
// Nowadays this is a flag!
@Deprecated
public boolean isDefaultOpen()
{
return MFlag.getFlagOpen().isStandard();
}
@Deprecated
public boolean isOpen()
{
return this.getFlag(MFlag.getFlagOpen());
}
@Deprecated
public void setOpen(Boolean open)
{
MFlag flag = MFlag.getFlagOpen();
if (open == null) open = flag.isStandard();
this.setFlag(flag, open);
}
// -------------------------------------------- //
// FIELD: invitations
// -------------------------------------------- //