mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
minor
This commit is contained in:
parent
9db64d5834
commit
aa5d8aee1e
1 changed files with 1 additions and 2 deletions
|
@ -109,7 +109,7 @@ local function serialize(value, write)
|
|||
end
|
||||
write(";")
|
||||
references[object] = reference
|
||||
if type_ ~= "string" then
|
||||
if type_ == "table" then
|
||||
to_fill[object] = reference
|
||||
end
|
||||
refnum = refnum + 1
|
||||
|
@ -269,7 +269,6 @@ function core.deserialize(str, safe)
|
|||
local env = {
|
||||
inf = math_huge,
|
||||
nan = 0/0,
|
||||
ItemStack = ItemStack or function(str) return str end,
|
||||
core = {
|
||||
known_metatables = core.known_metatables,
|
||||
serializable_metatables = core.serializable_metatables,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue