From ab215fc25e4b0db3d676775c4b8d800e8d17b17a Mon Sep 17 00:00:00 2001 From: wsor4035 <24964441+wsor4035@users.noreply.github.com> Date: Sun, 28 Jul 2024 15:38:57 -0400 Subject: [PATCH] hail marry part 2 --- mods/fl_stairs/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/fl_stairs/init.lua b/mods/fl_stairs/init.lua index 2721c7f..66f36aa 100644 --- a/mods/fl_stairs/init.lua +++ b/mods/fl_stairs/init.lua @@ -157,14 +157,14 @@ minetest.register_on_mods_loaded(function() minetest.log("error", "basalt node found") minetest.log("error", dump(node)) end - if node.groups.stairable == 1 then + if node.groups and node.groups.stairable == 1 then if node.name == "fl_stone:basalt_block" then minetest.log("error", "basalt node stair function calling") end fl_stairs.register_stairslab(node.name) end - if node.groups.wallable == 1 then + if node.groups and node.groups.wallable == 1 then fl_stairs.register_wall(node.name) end end