Added the "You do not have an axe to use." message for trying to chop a fruit tree without an axe

This commit is contained in:
Syndromeramo
2025-07-15 12:42:37 +00:00
committed by Ryan
parent 3634616475
commit db05c190fe
@@ -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) {