We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a538dc7 commit 615c2bdCopy full SHA for 615c2bd
src/main/kotlin/com/demonwav/mcdev/nbt/tags/NbtTag.kt
@@ -56,7 +56,7 @@ fun writeString(sb: StringBuilder, s: String): StringBuilder {
56
return sb.append('"').append(s.replace("\n", "\\n")).append('"')
57
}
58
59
- if (s == "bytes" || s == "ints" || s == "longs") {
+ if (s == "bytes" || s == "ints" || s == "longs" || s == "true" || s == "false") {
60
// keywords must be quoted
61
return sb.append('"').append(s).append('"')
62
0 commit comments