diff --git a/common/src/main/java/us/myles/ViaVersion/api/minecraft/nbt/TagStringReader.java b/common/src/main/java/us/myles/ViaVersion/api/minecraft/nbt/TagStringReader.java index f426b8cf0..72a3f1ab1 100644 --- a/common/src/main/java/us/myles/ViaVersion/api/minecraft/nbt/TagStringReader.java +++ b/common/src/main/java/us/myles/ViaVersion/api/minecraft/nbt/TagStringReader.java @@ -89,7 +89,12 @@ import java.util.stream.IntStream; public ListTag list() throws StringTagParseException { final ListTag listTag = new ListTag(""); this.buffer.expect(Tokens.ARRAY_BEGIN); + final boolean prefixedIndex = this.buffer.peek() == '0' && this.buffer.peek(1) == ':'; while (this.buffer.hasMore()) { + if (prefixedIndex) { + this.buffer.takeUntil(':'); + } + final Tag next = this.tag(); // TODO: validate type listTag.add(next);