Changed writeListTagPayload to iterate over list tag

This commit is contained in:
Steveice10 2012-03-25 10:03:12 -07:00
parent e9a259edd9
commit 7e55606c48

View File

@ -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);
}
}