mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-25 02:42:25 +01:00
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
Block a user