Formatting FIxes (#58)
This commit is contained in:
parent
57fb9fb525
commit
096d39609e
1318 changed files with 11633 additions and 22129 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue