Formatting FIxes (#58)

This commit is contained in:
Kamron Batman 2019-10-04 23:08:13 -07:00 • committed by GitHub
parent 57fb9fb525
commit 096d39609e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1318 changed files with 11633 additions and 22129 deletions

View file

@ -14,16 +14,11 @@ namespace Server.Regions
private Dictionary<Mobile, GuardTimer> m_GuardCandidates = new Dictionary<Mobile, GuardTimer>();
private Type m_GuardType;
public GuardedRegion(string name, Map map, int priority, params Rectangle3D[] area) : base(name, map, priority, area)
{
m_GuardType = DefaultGuardType;
}
public GuardedRegion(string name, Map map, int priority, params Rectangle3D[] area) : base(name, map, priority, area) => m_GuardType = DefaultGuardType;
public GuardedRegion(string name, Map map, int priority, params Rectangle2D[] area)
: base(name, map, priority, area)
{
: base(name, map, priority, area) =>
m_GuardType = DefaultGuardType;
}
public GuardedRegion(XmlElement xml, Map map, Region parent) : base(xml, map, parent)
{
@ -61,10 +56,7 @@ namespace Server.Regions
}
}
public virtual bool IsDisabled()
{
return Disabled;
}
public virtual bool IsDisabled() => Disabled;
public static void Initialize()
{
@ -165,10 +157,7 @@ namespace Server.Regions
return base.OnBeginSpellCast(m, s);
}
public override bool AllowHousing(Mobile from, Point3D p)
{
return false;
}
public override bool AllowHousing(Mobile from, Point3D p) => false;
public override void MakeGuard(Mobile focus)
{