Skip to content

Commit d13c9aa

Browse files
committed
Fix stairs light suport for hades_stairs (stairs renamed from stairs to hades_stairs in Hades Revisited)
1 parent 717553c commit d13c9aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

morelights_extras/init.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ minetest.register_node("morelights_extras:stairlight", {
179179

180180
if node.param2 < 4
181181
and (node.name:match("^stairs:stair_")
182-
or node.name:match("^mcl_stairs:stair_")) then
182+
or node.name:match("^mcl_stairs:stair_")
183+
or node.name:match("^hades_stairs:stair_")) then
183184
-- Set `above` to the node actually above the stair, since that's
184185
-- where the node is placed.
185186
pointed_thing.above =

0 commit comments

Comments
 (0)