2 Return itemstack on x_bows.load on_place func

This commit is contained in:
Juraj Vajda 2021-05-29 21:01:40 -04:00
parent c827a4cef5
commit b737a29465

View File

@ -97,8 +97,7 @@ function x_bows.load(itemstack, user, pointed_thing)
local node_def = minetest.registered_nodes[node.name] local node_def = minetest.registered_nodes[node.name]
if node_def and node_def.on_rightclick then if node_def and node_def.on_rightclick then
node_def.on_rightclick(pointed_thing.under, node, user, itemstack, pointed_thing) return node_def.on_rightclick(pointed_thing.under, node, user, itemstack, pointed_thing)
return
end end
end end