From b737a29465a90d093d778d611b539fe2963ec91a Mon Sep 17 00:00:00 2001 From: Juraj Vajda Date: Sat, 29 May 2021 21:01:40 -0400 Subject: [PATCH] 2 Return itemstack on x_bows.load on_place func --- init.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 991574c..c244a93 100644 --- a/init.lua +++ b/init.lua @@ -97,8 +97,7 @@ function x_bows.load(itemstack, user, pointed_thing) local node_def = minetest.registered_nodes[node.name] if node_def and node_def.on_rightclick then - node_def.on_rightclick(pointed_thing.under, node, user, itemstack, pointed_thing) - return + return node_def.on_rightclick(pointed_thing.under, node, user, itemstack, pointed_thing) end end