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

@ -156,10 +156,7 @@ namespace Server.Engines.Harvest
return type;
}
private static Map SafeMap(Map map)
{
return map == null || map == Map.Internal ? Map.Trammel : map;
}
private static Map SafeMap(Map map) => map == null || map == Map.Internal ? Map.Trammel : map;
public override bool CheckResources(Mobile from, Item tool, HarvestDefinition def, Map map, Point3D loc, bool timed)
{
@ -447,10 +444,7 @@ namespace Server.Engines.Harvest
from.RevealingAction();
}
public override object GetLock(Mobile from, Item tool, HarvestDefinition def, object toHarvest)
{
return this;
}
public override object GetLock(Mobile from, Item tool, HarvestDefinition def, object toHarvest) => this;
public override bool BeginHarvesting(Mobile from, Item tool)
{