From 340acafcb3e56b960bcbb1e30200ec5683ea2993 Mon Sep 17 00:00:00 2001 From: Kamron Batman <3953314+kamronbatman@users.noreply.github.com> Date: Wed, 20 Aug 2025 15:30:04 -0700 Subject: [PATCH] fix: Fixes mining/lumberjacking multi-harvest (#2249) --- Projects/UOContent/Engines/Harvest/Lumberjacking.cs | 2 ++ Projects/UOContent/Engines/Harvest/Mining.cs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Projects/UOContent/Engines/Harvest/Lumberjacking.cs b/Projects/UOContent/Engines/Harvest/Lumberjacking.cs index b9275cda0..9640f68d8 100644 --- a/Projects/UOContent/Engines/Harvest/Lumberjacking.cs +++ b/Projects/UOContent/Engines/Harvest/Lumberjacking.cs @@ -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) { base.OnHarvestStarted(from, tool, def, toHarvest); diff --git a/Projects/UOContent/Engines/Harvest/Mining.cs b/Projects/UOContent/Engines/Harvest/Mining.cs index e79de9fed..dd7f5c747 100644 --- a/Projects/UOContent/Engines/Harvest/Mining.cs +++ b/Projects/UOContent/Engines/Harvest/Mining.cs @@ -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) { if (!base.BeginHarvesting(from, tool))