Change dump() to minetest.serialize() (saner)
This commit is contained in:
parent
cae20d5eee
commit
d54bd5ea0b
@ -99,7 +99,7 @@ end
|
|||||||
function worktable.put(pos, listname, index, stack, player)
|
function worktable.put(pos, listname, index, stack, player)
|
||||||
local stackname = stack:get_name()
|
local stackname = stack:get_name()
|
||||||
local count = stack:get_count()
|
local count = stack:get_count()
|
||||||
local mat = dump(material)
|
local mat = minetest.serialize(material)
|
||||||
|
|
||||||
if listname == "output" then return 0 end
|
if listname == "output" then return 0 end
|
||||||
if listname == "input" then
|
if listname == "input" then
|
||||||
|
Loading…
Reference in New Issue
Block a user