summaryrefslogtreecommitdiff
path: root/homedecor/handlers/expansion.lua
diff options
context:
space:
mode:
Diffstat (limited to 'homedecor/handlers/expansion.lua')
-rw-r--r--homedecor/handlers/expansion.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/homedecor/handlers/expansion.lua b/homedecor/handlers/expansion.lua
index c010bf4..e9d2ec5 100644
--- a/homedecor/handlers/expansion.lua
+++ b/homedecor/handlers/expansion.lua
@@ -368,14 +368,6 @@ function homedecor.place_banister(itemstack, placer, pointed_thing)
fdir = right_fwd_node.param2
pos = fwd_pos
new_place_name = string.gsub(right_fwd_node.name, "_diagonal_.-$", "_horizontal")
-
- -- try to follow a horizontal with another of the same
- elseif left_node and string.find(left_node.name, "homedecor:banister_.*_horizontal") then
- fdir = left_node.param2
- new_place_name = left_node.name
- elseif right_node and string.find(right_node.name, "homedecor:banister_.*_horizontal") then
- fdir = right_node.param2
- new_place_name = right_node.name
end
-- manually invert left-right orientation