mirror of
https://github.com/random-geek/morelights.git
synced 2024-11-05 14:53:48 +01:00
Fix stairs light suport for hades_stairs (stairs renamed from stairs to hades_stairs in Hades Revisited)
This commit is contained in:
parent
717553c9cb
commit
d13c9aaed6
@ -179,7 +179,8 @@ minetest.register_node("morelights_extras:stairlight", {
|
||||
|
||||
if node.param2 < 4
|
||||
and (node.name:match("^stairs:stair_")
|
||||
or node.name:match("^mcl_stairs:stair_")) then
|
||||
or node.name:match("^mcl_stairs:stair_")
|
||||
or node.name:match("^hades_stairs:stair_")) then
|
||||
-- Set `above` to the node actually above the stair, since that's
|
||||
-- where the node is placed.
|
||||
pointed_thing.above =
|
||||
|
Loading…
Reference in New Issue
Block a user