Fix to prevent error

master
ezhh 2016-08-06 18:19:27 +01:00
parent f98e8faaa3
commit 5c8cef4e28
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ for i in ipairs(colour_list) do
if not retval then
return itemstack
end
itemstack, retval = minetest.item_place(fakestack, placer, pointed_thing, dir)
itemstack, retval = minetest.item_place(fakestack, placer, pointed_thing, param2)
itemstack:set_name("abritorch:torch_"..colour)
return itemstack