forked from nalc/homedecor_modpack
parent
ff5946d5c3
commit
8cf828ed00
|
@ -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