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

@ -38,10 +38,7 @@ namespace Server.Regions
e.Mobile.Location = house.BanLocation;
}
public override bool AllowHousing(Mobile from, Point3D p)
{
return false;
}
public override bool AllowHousing(Mobile from, Point3D p) => false;
private static Rectangle3D[] GetArea(BaseHouse house)
{
@ -71,10 +68,7 @@ namespace Server.Regions
return true;
}
public override bool CheckAccessibility(Item item, Mobile from)
{
return House.CheckAccessibility(item, from);
}
public override bool CheckAccessibility(Item item, Mobile from) => House.CheckAccessibility(item, from);
// Use OnLocationChanged instead of OnEnter because it can be that we enter a house region even though we're not actually inside the house
public override void OnLocationChanged(Mobile m, Point3D oldLocation)