From b6fa5d94475be8a713304c82164aaa9781027a9d Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Tue, 9 Dec 2025 16:50:54 +0000 Subject: [PATCH] fix hoe bomb item take (thx Grossam) --- hoes.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/hoes.lua b/hoes.lua index 4d3b234..511ab0a 100644 --- a/hoes.lua +++ b/hoes.lua @@ -322,15 +322,15 @@ core.register_craftitem("farming:hoe_bomb", { hoe_area(pointed_thing.under, user) else throw_potion(itemstack, user) - - if not farming.is_creative(user:get_player_name()) then - - itemstack:take_item() - - return itemstack - end end - end, + + if not farming.is_creative(user:get_player_name()) then + + itemstack:take_item() + + return itemstack + end + end }) -- helper function