#W# Factions: Disabled the faction regions.

This commit is contained in:
WarrentyExpired 2026-10-10 23:05:33 -04:00
parent 4160a83eaa
commit 08fd68b9d0
3 changed files with 10 additions and 3 deletions

View file

@ -11,6 +11,9 @@ public class FactionSystem : GenericPersistence
{
Enabled = ServerConfiguration.GetSetting("factions.enabled", false);
if (!FactionSystem.Enabled)
return;
if (Enabled)
{
_factionSystem = new();

View file

@ -15,7 +15,10 @@ public class StrongholdRegion : BaseRegion
Faction = faction;
GoLocation = faction.Definition.Stronghold.FactionStone;
Register();
if (FactionSystem.Enabled)
{
Register();
}
}
public Faction Faction { get; set; }
@ -42,4 +45,4 @@ public class StrongholdRegion : BaseRegion
}
public override bool AllowHousing(Mobile from, Point3D p) => false;
}
}