0e0a423e7e
Any liquids that are dropped should become placed nodes. It was observed before this that wet concrete may have been displaced in such a way that it created a stack node; this ensures such things are precluded as much as possible.
13 lines
426 B
Lua
13 lines
426 B
Lua
-- LUALOCALS < ---------------------------------------------------------
|
|
local nodecore
|
|
= nodecore
|
|
-- LUALOCALS > ---------------------------------------------------------
|
|
|
|
nodecore.register_on_register_item(function(_, def)
|
|
if def.liquidtype and def.liquidtype ~= "none" then
|
|
def.groups = def.groups or {}
|
|
def.groups.stack_as_node = def.groups.stack_as_node or 1
|
|
def.stack_max = def.stack_max or 1
|
|
end
|
|
end)
|