forked from mtcontrib/arrow_signs
Fix return
This commit is contained in:
parent
bbbe7b2192
commit
d881fce213
4
init.lua
4
init.lua
@ -95,9 +95,11 @@ arrow_signs_on_place = function(itemstack, placer, pointed_thing)
|
|||||||
minetest.rotate_node(itemstack, placer, pointed_thing)
|
minetest.rotate_node(itemstack, placer, pointed_thing)
|
||||||
else
|
else
|
||||||
itemstack:take_item()
|
itemstack:take_item()
|
||||||
return itemstack
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
return itemstack
|
||||||
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function arrow_signs:savetext(pos, formname, fields, sender)
|
function arrow_signs:savetext(pos, formname, fields, sender)
|
||||||
|
Loading…
Reference in New Issue
Block a user