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)
|
public void setFlagsForWilderness(Faction faction)
|
||||||
{
|
{
|
||||||
|
faction.setOpen(false);
|
||||||
|
|
||||||
faction.setFlag(FFlag.PERMANENT, true);
|
faction.setFlag(FFlag.PERMANENT, true);
|
||||||
faction.setFlag(FFlag.PEACEFUL, false);
|
faction.setFlag(FFlag.PEACEFUL, false);
|
||||||
faction.setFlag(FFlag.INFPOWER, true);
|
faction.setFlag(FFlag.INFPOWER, true);
|
||||||
@ -122,6 +124,8 @@ public class Factions extends EntityCollection<Faction>
|
|||||||
|
|
||||||
public void setFlagsForSafeZone(Faction faction)
|
public void setFlagsForSafeZone(Faction faction)
|
||||||
{
|
{
|
||||||
|
faction.setOpen(false);
|
||||||
|
|
||||||
faction.setFlag(FFlag.PERMANENT, true);
|
faction.setFlag(FFlag.PERMANENT, true);
|
||||||
faction.setFlag(FFlag.PEACEFUL, true);
|
faction.setFlag(FFlag.PEACEFUL, true);
|
||||||
faction.setFlag(FFlag.INFPOWER, true);
|
faction.setFlag(FFlag.INFPOWER, true);
|
||||||
@ -142,6 +146,8 @@ public class Factions extends EntityCollection<Faction>
|
|||||||
|
|
||||||
public void setFlagsForWarZone(Faction faction)
|
public void setFlagsForWarZone(Faction faction)
|
||||||
{
|
{
|
||||||
|
faction.setOpen(false);
|
||||||
|
|
||||||
faction.setFlag(FFlag.PERMANENT, true);
|
faction.setFlag(FFlag.PERMANENT, true);
|
||||||
faction.setFlag(FFlag.PEACEFUL, true);
|
faction.setFlag(FFlag.PEACEFUL, true);
|
||||||
faction.setFlag(FFlag.INFPOWER, true);
|
faction.setFlag(FFlag.INFPOWER, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user