forked from mtcontrib/homedecor_modpack
Merge pull request #327 from FozLand/coffee_table
Fix coffeetable placement.
This commit is contained in:
commit
2b03719a6d
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user