diff --git a/smart_sfinv_creative/init.lua b/smart_sfinv_creative/init.lua index 1e049bd..d7ef8a7 100644 --- a/smart_sfinv_creative/init.lua +++ b/smart_sfinv_creative/init.lua @@ -40,6 +40,13 @@ end -- Get group assignment for item ------------------------------------------------------------------------ local function get_group_assingment(def) + + -- Order all stairs and slabs to the stairs group + if def.groups.stair or def.groups.slab then + return "stairs" + end + + -- Group by mod origin by default return def.mod_origin end