mirror of
https://github.com/MassiveCraft/Factions.git
synced 2024-12-26 02:28:13 +01:00
The special factions must be closed.
This commit is contained in:
parent
d614dec781
commit
9c678965be
@ -101,6 +101,8 @@ public class Factions extends EntityCollection<Faction>
|
||||
//----------------------------------------------//
|
||||
public void setFlagsForWilderness(Faction faction)
|
||||
{
|
||||
faction.setOpen(false);
|
||||
|
||||
faction.setFlag(FFlag.PERMANENT, true);
|
||||
faction.setFlag(FFlag.PEACEFUL, false);
|
||||
faction.setFlag(FFlag.INFPOWER, true);
|
||||
@ -122,6 +124,8 @@ public class Factions extends EntityCollection<Faction>
|
||||
|
||||
public void setFlagsForSafeZone(Faction faction)
|
||||
{
|
||||
faction.setOpen(false);
|
||||
|
||||
faction.setFlag(FFlag.PERMANENT, true);
|
||||
faction.setFlag(FFlag.PEACEFUL, true);
|
||||
faction.setFlag(FFlag.INFPOWER, true);
|
||||
@ -142,6 +146,8 @@ public class Factions extends EntityCollection<Faction>
|
||||
|
||||
public void setFlagsForWarZone(Faction faction)
|
||||
{
|
||||
faction.setOpen(false);
|
||||
|
||||
faction.setFlag(FFlag.PERMANENT, true);
|
||||
faction.setFlag(FFlag.PEACEFUL, true);
|
||||
faction.setFlag(FFlag.INFPOWER, true);
|
||||
|
Loading…
Reference in New Issue
Block a user