Mojira Archive
MC-122393

Functions don't understand JSON with line breaks

This function works as intended:

title @a {text: "Hello, World!"}

This function does not:

title @a {
  text: "Hello, World!"
}

Additionally, the failing function simply throws the error "Unknown function", which is cryptic and unhelpful – it would be much easier to debug problems of this type if there was a different error for "function not found" and "function did not parse correctly."

Works As Intended

Nicholas Lamicela

2017-11-24, 09:21 AM

2017-11-25, 12:55 AM

2017-11-24, 09:40 AM

0

0

Unconfirmed

function, json

Minecraft 1.12.2

-