mirror of
https://github.com/random-geek/morelights.git
synced 2025-03-02 15:34:37 +01:00
Fix stairs light suport for hades_stairs (stairs renamed from stairs to hades_stairs in Hades Revisited)
This commit is contained in:
@ -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 =
|
||||
|
Reference in New Issue
Block a user