mcl_torches: Fix undeclared global

This commit is contained in:
Wuzzy 2017-03-21 06:07:15 +01:00
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)