aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOch Noe <och_noe@forksworld.de>2021-07-28 13:11:51 +0200
committerOch Noe <och_noe@forksworld.de>2021-07-28 13:11:51 +0200
commit83541121219f8a39e7d94b887bed57a6bd245464 (patch)
treebfedabe2c54b36226b3dd9a687169f588fbb653a
parente21568c31aafd2ee2900888de1d3fbe14d18a616 (diff)
downloadmoreblocks-83541121219f8a39e7d94b887bed57a6bd245464.tar.gz
moreblocks-83541121219f8a39e7d94b887bed57a6bd245464.tar.bz2
moreblocks-83541121219f8a39e7d94b887bed57a6bd245464.zip
"_two_sides" also train compatible
-rw-r--r--stairsplus/slabs.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/stairsplus/slabs.lua b/stairsplus/slabs.lua
index f45a2ca..3af7d7e 100644
--- a/stairsplus/slabs.lua
+++ b/stairsplus/slabs.lua
@@ -96,7 +96,7 @@ function stairsplus:register_slab(modname, subname, recipeitem, fields)
def.paramtype2 = def.paramtype2 or "facedir"
def.on_place = minetest.rotate_node
def.groups = stairsplus:prepare_groups(fields.groups)
- if alternate == "_1" then
+ if alternate == "_1" or alternate == "_two_sides" then
def.groups.not_blocking_trains = 1
end
if fields.drop and not (type(fields.drop) == "table") then