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

Fix legacy nbt io

Fixes #1874
Dieser Commit ist enthalten in:
KennyTV 2020-07-02 16:35:33 +02:00
Ursprung 5ce1e850c8
Commit a613edcb42
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 6BE3B555EBC5982B

Datei anzeigen

@ -192,7 +192,7 @@ import java.util.stream.IntStream;
}
final StringBuilder builder = new StringBuilder();
while (Tokens.id(this.buffer.peek())) {
while (this.buffer.peek() != ':') { // DO NOT CHECK FOR CHARACTER VALIDITY; LEGACY NBT ALLOWS ANY CHARACTER, EVEN WHEN UNQUOTED
builder.append(this.buffer.take());
}
return builder.toString();