forked from mtcontrib/homedecor_modpack
Fix lines length related issues in homedecor_common
This commit is contained in:
@ -70,7 +70,11 @@ function homedecor.register(name, original_def)
|
||||
if not fdir or fdir > 3 then return end
|
||||
|
||||
if expand.right and expand.forward ~= "air" then
|
||||
local right_pos = { x=pos.x+homedecor.fdir_to_right[fdir+1][1], y=pos.y, z=pos.z+homedecor.fdir_to_right[fdir+1][2] }
|
||||
local right_pos = {
|
||||
x = pos.x + homedecor.fdir_to_right[fdir+1][1],
|
||||
y = pos.y,
|
||||
z = pos.z + homedecor.fdir_to_right[fdir+1][2]
|
||||
}
|
||||
local node = minetest.get_node(right_pos).name
|
||||
if node == expand.right or node == placeholder_node then
|
||||
minetest.remove_node(right_pos)
|
||||
|
Reference in New Issue
Block a user