Update adventure

This commit is contained in:
Nassim Jahnke 2021-10-03 20:13:51 +02:00
parent 0f5fa620d1
commit 0a4d08886d
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B
2 changed files with 4 additions and 5 deletions

View File

@ -48,7 +48,6 @@ import java.util.stream.LongStream;
// - Small byteArray() optimization
// - acceptLegacy = true by default
// - Don't parse value as DoubleTag when possiblyNumeric
// - Fix trailing comma reading in compounds, lists, and arrays
final class TagStringReader {
private static final int MAX_DEPTH = 512;
private static final byte[] EMPTY_BYTE_ARRAY = new byte[0];
@ -326,7 +325,7 @@ final class TagStringReader {
return true;
}
this.buffer.expect(Tokens.VALUE_SEPARATOR);
return this.buffer.takeIf(endCharacter); // Via - trailing commas are allowed
return this.buffer.takeIf(endCharacter);
}
/**

View File

@ -2,8 +2,8 @@ metadata.format.version = "1.1"
[versions]
adventure = "4.8.0"
gson = "2.8.7"
adventure = "4.9.1"
gson = "2.8.8"
fastutil = "8.3.1"
openNBT = "2.0-SNAPSHOT"
javassist = "3.28.0-GA"
@ -14,7 +14,7 @@ guava = "17.0"
snakeYaml = "1.18"
junit = "5.7.2"
checkerQual = "3.14.0"
checkerQual = "3.18.0"
# Platforms
paper = "1.16.5-R0.1-SNAPSHOT"