diff options
Diffstat (limited to 'stairsplus/panels.lua')
-rw-r--r-- | stairsplus/panels.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/stairsplus/panels.lua b/stairsplus/panels.lua index 98e77fd..82a7300 100644 --- a/stairsplus/panels.lua +++ b/stairsplus/panels.lua @@ -96,6 +96,9 @@ function stairsplus:register_panel(modname, subname, recipeitem, fields) def.on_place = minetest.rotate_node def.description = desc def.groups = stairsplus:prepare_groups(fields.groups) + if alternate == "_1" then + def.groups.not_blocking_trains = 1 + end if fields.drop and not (type(fields.drop) == "table") then def.drop = modname.. ":panel_" ..fields.drop..alternate end |