Be even more conservative about using stackfamily merge logic.
This commit is contained in:
parent
a570cb51a6
commit
80a2f8277c
@ -7,7 +7,7 @@ local function family(stack)
|
||||
if stack:is_empty() then return "" end
|
||||
local name = stack:get_name()
|
||||
local def = minetest.registered_items[name]
|
||||
return def and def.stackfamily or (":" .. name)
|
||||
return def and def.stackfamily or stack:to_string()
|
||||
end
|
||||
function nodecore.stack_merge(dest, src)
|
||||
if dest:is_empty() then return dest:add_item(src) end
|
||||
|
Loading…
x
Reference in New Issue
Block a user