Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-28 00:50:13 +01:00
Ursprung
95e0cff03c
Commit
3b5aaa1ff5
@ -96,6 +96,11 @@ import java.util.stream.IntStream;
|
|||||||
this.buffer.expect(Tokens.ARRAY_BEGIN);
|
this.buffer.expect(Tokens.ARRAY_BEGIN);
|
||||||
final boolean prefixedIndex = this.buffer.peek() == '0' && this.buffer.peek(1) == ':';
|
final boolean prefixedIndex = this.buffer.peek() == '0' && this.buffer.peek(1) == ':';
|
||||||
while (this.buffer.hasMore()) {
|
while (this.buffer.hasMore()) {
|
||||||
|
if (this.buffer.peek() == Tokens.ARRAY_END) {
|
||||||
|
this.buffer.advance();
|
||||||
|
return listTag;
|
||||||
|
}
|
||||||
|
|
||||||
if (prefixedIndex) {
|
if (prefixedIndex) {
|
||||||
this.buffer.takeUntil(':');
|
this.buffer.takeUntil(':');
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren