From ba5f11271a8c82ca2ed519300e182d8319f3468a Mon Sep 17 00:00:00 2001 From: Luke aka SwissalpS Date: Tue, 27 Feb 2024 00:36:58 +0100 Subject: [PATCH] cut nodes aren't ground content By default make cut nodes non ground content but allow mods to register theirs as ground content if they want to. --- stairsplus/common.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/stairsplus/common.lua b/stairsplus/common.lua index aee1e6a..26d4031 100644 --- a/stairsplus/common.lua +++ b/stairsplus/common.lua @@ -133,6 +133,7 @@ stairsplus.register_single = function(category, alternate, info, modname, subnam def[k] = v end + def.is_ground_content = def.is_ground_content == true def.drawtype = "nodebox" def.paramtype = "light" def.paramtype2 = def.paramtype2 or "facedir"