1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-22 16:10:18 +01:00

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"