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

@ -273,10 +273,7 @@ namespace Server.Items
}
}
public static Point3D GetOffset(DoorFacing facing)
{
return m_Offsets[(int)facing];
}
public static Point3D GetOffset(DoorFacing facing) => m_Offsets[(int)facing];
public bool CanClose()
{
@ -371,15 +368,9 @@ namespace Server.Items
return freeToClose;
}
public virtual bool IsInside(Mobile from)
{
return false;
}
public virtual bool IsInside(Mobile from) => false;
public virtual bool UseLocks()
{
return true;
}
public virtual bool UseLocks() => true;
public virtual void Use(Mobile from)
{

View file

@ -152,10 +152,7 @@ namespace Server.Items
house.Visits++;
}
public override bool UseLocks()
{
return FindHouse()?.IsAosRules != true;
}
public override bool UseLocks() => FindHouse()?.IsAosRules != true;
public override void Use(Mobile from)
{