Add missing break when writing IntArrayTag.

This commit is contained in:
Socolin 2012-05-22 10:29:27 +03:00
parent f910fe4e66
commit 5cab7900f6

View File

@ -159,6 +159,7 @@ public final class NBTOutputStream implements Closeable {
break; break;
case NBTConstants.TYPE_INT_ARRAY: case NBTConstants.TYPE_INT_ARRAY:
writeIntArrayTagPayload((IntArrayTag) tag); writeIntArrayTagPayload((IntArrayTag) tag);
break;
default: default:
throw new IOException("Invalid tag type: " + type + "."); throw new IOException("Invalid tag type: " + type + ".");
} }