This commit is contained in:
Evert Prants 2018-06-21 12:54:00 +03:00
parent 69b7e1c410
commit 8719488563
Signed by: evert
GPG Key ID: 1688DA83D222D0B5

View File

@ -16,7 +16,7 @@ local function preserve_metadata(pos, oldnode, oldmeta, drops)
local stack_meta = stack:get_meta() local stack_meta = stack:get_meta()
stack_meta:set_int("fluid_storage", buffer.amount) stack_meta:set_int("fluid_storage", buffer.amount)
stack_meta:set_string("fluid", buffer.fluid) stack_meta:set_string("fluid", buffer.fluid)
stack_meta:set_string("description", ("%s\nContents: %s (%d/%d %s)"):format(ndef.description, stack_meta:set_string("description", ("%s\nContents: %s"):format(ndef.description,
fluid_lib.buffer_to_string(buffer))) fluid_lib.buffer_to_string(buffer)))
drops[i] = stack drops[i] = stack