3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-27 08:30:09 +01:00

Update adventure

Dieser Commit ist enthalten in:
Nassim Jahnke 2021-10-03 20:13:51 +02:00
Ursprung 0f5fa620d1
Commit 0a4d08886d
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 6BE3B555EBC5982B
2 geänderte Dateien mit 4 neuen und 5 gelöschten Zeilen

Datei anzeigen

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

Datei anzeigen

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