more stuff for compatibility w/ weird old setups

This commit is contained in:
flux
2022-06-24 09:44:22 -07:00
parent 2774e54a70
commit 604697d554
4 changed files with 35 additions and 3 deletions

View File

@ -156,7 +156,9 @@ function api.register_single(node, shape, overrides, meta)
end
if not meta.allow_override_groups and overrides.groups then
stairsplus.log("warning", "removing group overrides from %s", shaped_name)
stairsplus.log("warning", "removing group overrides from %s (was %s, will be %s)",
shaped_name, minetest.serialize(overrides.groups):sub(8), minetest.serialize(def.groups):sub(8)
)
overrides.groups = nil
end