File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -177,11 +177,12 @@ minetest.register_node("morelights_extras:stairlight", {
177177 end
178178 end
179179
180- if node .param2 < 4
181- and (node .name :match (" ^stairs:stair_" )
182- or node .name :match (" ^mcl_stairs:stair_" )
183- or node .name :match (" ^hades_stairs:stair_" )
184- or (minetest .get_item_group (node .name ," support_stairlight" )> 0 )) then
180+ if node .param2 < 4 and (
181+ node .name :match (" ^stairs:stair_" )
182+ or node .name :match (" ^mcl_stairs:stair_" )
183+ or node .name :match (" ^hades_stairs:stair_" )
184+ or minetest .get_item_group (node .name , " morelights_supports_stairlight" ) ~= 0
185+ ) then
185186 -- Set `above` to the node actually above the stair, since that's
186187 -- where the node is placed.
187188 pointed_thing .above =
You can’t perform that action at this time.
0 commit comments