Skip to content

Commit

Permalink
allow trains to pass through stair nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
wsor4035 committed Jul 6, 2024
1 parent 8384b53 commit 801cc0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods/fl_stairs/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function fl_stairs.register_stairslab(itemstring)
local groups = table.copy(nodedef.groups)
groups[stairinfo[1]] = 1
groups["all_nodes"] = 1
groups.stairable, groups.wallable, groups.not_in_creative_inventory = nil, nil, 1
groups.stairable, groups.wallable, groups.not_in_creative_inventory, groups.not_blocking_trains = nil, nil, 1, 1

minetest.register_node(":" .. regnode, {
description = nodedef.description .. " " .. stairinfo[1],
Expand Down

0 comments on commit 801cc0e

Please sign in to comment.