diff --git a/mods/CORE/_mcl_autogroup/init.lua b/mods/CORE/_mcl_autogroup/init.lua index 5da2bf7d6..236a5537d 100644 --- a/mods/CORE/_mcl_autogroup/init.lua +++ b/mods/CORE/_mcl_autogroup/init.lua @@ -355,6 +355,9 @@ local function overwrite() end end + -- Make sure compatibility groups are present for the below logic + ndef.groups = newgroups + if (nname ~= "ignore" and ndef.diggable) then -- Automatically assign the "solid" group for solid nodes if (ndef.walkable == nil or ndef.walkable == true) @@ -394,6 +397,11 @@ local function overwrite() -- group. newgroups["creative_breakable"] = 1 + minetest.log(dump({ + groups = ndef.groups, + newgroups = newgroups, + })) + minetest.override_item(nname, { groups = newgroups })