2 Return itemstack on x_bows.load on_place func
This commit is contained in:
parent
c827a4cef5
commit
b737a29465
3
init.lua
3
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
|
||||
|
||||
|
|
Ŝarĝante…
Reference in New Issue