1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-09-10 14:25:59 +00:00

Fix JSON objects failing to pass

This commit is contained in:
Merith-TK
2021-02-22 18:11:27 -08:00
parent 457a863842
commit 7e65c6b25c
2 changed files with 9 additions and 1 deletions

View File

@@ -530,7 +530,7 @@ do
while true do
local key, value
if c == "\"" then key, pos = parse_string(str, pos + 1)
if c == "\"" then key, pos = parse_string(str, pos + 1, "\"")
elseif opts.nbt_style then key, pos = parse_ident(str, pos)
else return expected(pos, c, "object key")
end