mirror of
https://github.com/ViaVersion/ViaNBT.git
synced 2024-09-30 04:17:34 +02:00
Changed writeListTagPayload to iterate over list tag
This commit is contained in:
parent
e9a259edd9
commit
7e55606c48
@ -198,7 +198,7 @@ public final class NBTOutputStream implements Closeable {
|
||||
|
||||
os.writeByte(NBTUtils.getTypeCode(clazz));
|
||||
os.writeInt(size);
|
||||
for(Tag t : tag.getValue()) {
|
||||
for(Tag t : tag) {
|
||||
this.writeTagPayload(t);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user