mcl_torches: Fix undeclared global

This commit is contained in:
Wuzzy 2017-03-21 06:07:15 +01:00
parent 55626c3052
commit 046e50ae80
1 changed files with 1 additions and 0 deletions

View File

@ -111,6 +111,7 @@ mcl_torches.register_torch = function(substring, description, doc_items_longdesc
return itemstack
end
local success
itemstack, success = minetest.item_place(fakestack, placer, pointed_thing, wdir)
itemstack:set_name(itemstring)