From 9c678965be819f743221ef0a7f302b5b58eeaff3 Mon Sep 17 00:00:00 2001 From: Olof Larsson Date: Sat, 5 Nov 2011 11:15:37 +0100 Subject: [PATCH] The special factions must be closed. --- src/com/massivecraft/factions/Factions.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/com/massivecraft/factions/Factions.java b/src/com/massivecraft/factions/Factions.java index cb09a174..39362274 100644 --- a/src/com/massivecraft/factions/Factions.java +++ b/src/com/massivecraft/factions/Factions.java @@ -101,6 +101,8 @@ public class Factions extends EntityCollection //----------------------------------------------// 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 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 public void setFlagsForWarZone(Faction faction) { + faction.setOpen(false); + faction.setFlag(FFlag.PERMANENT, true); faction.setFlag(FFlag.PEACEFUL, true); faction.setFlag(FFlag.INFPOWER, true);