diff options
author | Och Noe <och_noe@forksworld.de> | 2021-07-28 13:11:51 +0200 |
---|---|---|
committer | Och Noe <och_noe@forksworld.de> | 2021-07-28 13:11:51 +0200 |
commit | 83541121219f8a39e7d94b887bed57a6bd245464 (patch) | |
tree | bfedabe2c54b36226b3dd9a687169f588fbb653a /stairsplus | |
parent | e21568c31aafd2ee2900888de1d3fbe14d18a616 (diff) | |
download | moreblocks-83541121219f8a39e7d94b887bed57a6bd245464.tar.gz moreblocks-83541121219f8a39e7d94b887bed57a6bd245464.tar.bz2 moreblocks-83541121219f8a39e7d94b887bed57a6bd245464.zip |
"_two_sides" also train compatible
Diffstat (limited to 'stairsplus')
-rw-r--r-- | stairsplus/slabs.lua | 2 |
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 |