"_two_sides" also train compatible

master
Och Noe 2021-07-28 13:11:51 +02:00
parent e21568c31a
commit 8354112121
1 changed files with 1 additions and 1 deletions

View File

@ -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