mcl_torches: Fix undeclared global
This commit is contained in:
parent
55626c3052
commit
046e50ae80
|
@ -111,6 +111,7 @@ mcl_torches.register_torch = function(substring, description, doc_items_longdesc
|
||||||
return itemstack
|
return itemstack
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local success
|
||||||
itemstack, success = minetest.item_place(fakestack, placer, pointed_thing, wdir)
|
itemstack, success = minetest.item_place(fakestack, placer, pointed_thing, wdir)
|
||||||
itemstack:set_name(itemstring)
|
itemstack:set_name(itemstring)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue