From db05c190fe9d5a91f50666e03856aa4add259621 Mon Sep 17 00:00:00 2001 From: Syndromeramo <21965004-syndromeramo@users.noreply.gitlab.com> Date: Tue, 15 Jul 2025 12:42:37 +0000 Subject: [PATCH] Added the "You do not have an axe to use." message for trying to chop a fruit tree without an axe --- .../main/content/global/skill/farming/FruitTreeChopper.kt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Server/src/main/content/global/skill/farming/FruitTreeChopper.kt b/Server/src/main/content/global/skill/farming/FruitTreeChopper.kt index c335007f6..288bf1e01 100644 --- a/Server/src/main/content/global/skill/farming/FruitTreeChopper.kt +++ b/Server/src/main/content/global/skill/farming/FruitTreeChopper.kt @@ -32,6 +32,11 @@ class FruitTreeChopper : OptionHandler() { val plantable = patch.plantable plantable ?: return false + if (SkillingTool.getHatchet(player) == null) { + sendMessage(player, "You do not have an axe to use.") + return true + } + val animation = SkillingTool.getHatchet(player).animation submitIndividualPulse(player, object : Pulse(animation.duration) {