Fix coffeetable placement.

Fixes minetest-mods/homedecor_modpack #326
This commit is contained in:
Foz 2016-11-04 06:47:04 -09:00
parent ff5946d5c3
commit 8cf828ed00

View File

@ -29,6 +29,8 @@ minetest.register_node("lrfurn:coffeetable_back", {
local node = minetest.get_node(pos)
local param2 = node.param2
local fdir = minetest.dir_to_facedir(placer:get_look_dir(), false)
if lrfurn.check_forward(pos, fdir, false, placer) then
node.name = "lrfurn:coffeetable_front"