diff --git a/mt_style.lua b/mt_style.lua index efda8bc2f08732e6bd8c407542e2d40f960d68df..7c8d5656711d5759bd88f8f337f0eb8959ce8929 100644 --- a/mt_style.lua +++ b/mt_style.lua @@ -21,7 +21,7 @@ minetest.register_craftitem(":default:torch", { 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, wdir) itemstack:set_name("default:torch") return itemstack