cleanup: Fixes bugs and cleans up code (#660)
This commit is contained in:
parent
1de0b656a9
commit
679e8100f4
99 changed files with 160 additions and 346 deletions
|
|
@ -168,8 +168,6 @@ namespace Server.Engines.Harvest
|
|||
return type;
|
||||
}
|
||||
|
||||
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)
|
||||
{
|
||||
return from?.Backpack?.FindItemsByType<SOS>()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue