diff --git a/worktable.lua b/worktable.lua index b05fc12..a6910f7 100644 --- a/worktable.lua +++ b/worktable.lua @@ -99,7 +99,7 @@ end function worktable.put(pos, listname, index, stack, player) local stackname = stack:get_name() local count = stack:get_count() - local mat = dump(material) + local mat = minetest.serialize(material) if listname == "output" then return 0 end if listname == "input" then