Надо разрешить комментарии в json'не
This commit is contained in:
parent
0f6cb63a10
commit
c63308f37b
@ -257,9 +257,9 @@ class AtlasConfiguration private constructor(
|
||||
|
||||
if (file.exists) {
|
||||
try {
|
||||
return@computeIfAbsent parseFrames(JsonReader(file.reader()), "$it.frames")
|
||||
return@computeIfAbsent parseFrames(JsonReader(file.reader()).also { it.isLenient = true }, "$it.frames")
|
||||
} catch (err: Throwable) {
|
||||
throw JsonSyntaxException("Reading frame grid $it.frames")
|
||||
throw JsonSyntaxException("Caught an exception while reading frame grid $it.frames", err)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user