Merge pull request #327 from FozLand/coffee_table

Fix coffeetable placement.
This commit is contained in:
Vanessa Ezekowitz 2016-11-04 12:23:21 -04:00 committed by GitHub
commit 2b03719a6d

View File

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