Ignore NBT with hanging comma, fixes #2319

This commit is contained in:
Myles 2021-02-09 10:50:11 +00:00
parent 628979f923
commit d39193400f

View File

@ -303,6 +303,10 @@ import java.util.stream.IntStream;
return true;
}
this.buffer.expect(Tokens.VALUE_SEPARATOR);
if (this.buffer.skipWhitespace().peek() == endCharacter) {
this.buffer.take();
return true;
}
return false;
}