fix: Fixes mining/lumberjacking multi-harvest (#2249)
This commit is contained in:
parent
bbb7dc2294
commit
340acafcb3
2 changed files with 4 additions and 0 deletions
|
|
@ -175,6 +175,8 @@ namespace Server.Engines.Harvest
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override object GetLock(Mobile from, Item tool, HarvestDefinition def, object toHarvest) => this;
|
||||||
|
|
||||||
public override void OnHarvestStarted(Mobile from, Item tool, HarvestDefinition def, object toHarvest)
|
public override void OnHarvestStarted(Mobile from, Item tool, HarvestDefinition def, object toHarvest)
|
||||||
{
|
{
|
||||||
base.OnHarvestStarted(from, tool, def, toHarvest);
|
base.OnHarvestStarted(from, tool, def, toHarvest);
|
||||||
|
|
|
||||||
|
|
@ -435,6 +435,8 @@ namespace Server.Engines.Harvest
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override object GetLock(Mobile from, Item tool, HarvestDefinition def, object toHarvest) => this;
|
||||||
|
|
||||||
public override bool BeginHarvesting(Mobile from, Item tool)
|
public override bool BeginHarvesting(Mobile from, Item tool)
|
||||||
{
|
{
|
||||||
if (!base.BeginHarvesting(from, tool))
|
if (!base.BeginHarvesting(from, tool))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue