Adds style cop (#109)
This commit is contained in:
parent
3e715bcb60
commit
556a17aba8
1725 changed files with 33831 additions and 38046 deletions
|
|
@ -8,8 +8,8 @@ namespace Server.Engines.Harvest
|
|||
{
|
||||
public class HarvestTarget : Target
|
||||
{
|
||||
private HarvestSystem m_System;
|
||||
private Item m_Tool;
|
||||
private readonly HarvestSystem m_System;
|
||||
private readonly Item m_Tool;
|
||||
|
||||
public HarvestTarget(Item tool, HarvestSystem system) : base(-1, true, TargetFlags.None)
|
||||
{
|
||||
|
|
@ -47,7 +47,7 @@ namespace Server.Engines.Harvest
|
|||
}
|
||||
}
|
||||
|
||||
if (m_System is Lumberjacking && targeted is IChopable chopable)
|
||||
if (m_System is Lumberjacking && targeted is IChoppable chopable)
|
||||
{
|
||||
chopable.OnChop(from);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue