summaryrefslogtreecommitdiff
path: root/lrfurn/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lrfurn/init.lua')
-rw-r--r--lrfurn/init.lua9
1 files changed, 0 insertions, 9 deletions
diff --git a/lrfurn/init.lua b/lrfurn/init.lua
index 1074482..b529b63 100644
--- a/lrfurn/init.lua
+++ b/lrfurn/init.lua
@@ -58,15 +58,6 @@ function lrfurn.check_forward(pos, fdir, long, placer)
return true
end
-function lrfurn.fix_rotation(pos, placer, itemstack, pointed_thing)
- local node = minetest.get_node(pos)
- local yaw = placer:get_look_yaw()
- local dir = minetest.yaw_to_dir(yaw)
- local fdir = minetest.dir_to_wallmounted(dir)
-
- minetest.swap_node(pos, { name = node.name, param2 = fdir })
-end
-
dofile(minetest.get_modpath("lrfurn").."/longsofas.lua")
dofile(minetest.get_modpath("lrfurn").."/sofas.lua")
dofile(minetest.get_modpath("lrfurn").."/armchairs.lua")