From 5cab7900f61e92686e431748d910b0fab5f03512 Mon Sep 17 00:00:00 2001 From: Socolin Date: Tue, 22 May 2012 10:29:27 +0300 Subject: [PATCH] Add missing break when writing IntArrayTag. --- src/main/java/com/sk89q/jnbt/NBTOutputStream.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/sk89q/jnbt/NBTOutputStream.java b/src/main/java/com/sk89q/jnbt/NBTOutputStream.java index 4cd9935dd..b8e385b2f 100644 --- a/src/main/java/com/sk89q/jnbt/NBTOutputStream.java +++ b/src/main/java/com/sk89q/jnbt/NBTOutputStream.java @@ -159,6 +159,7 @@ public final class NBTOutputStream implements Closeable { break; case NBTConstants.TYPE_INT_ARRAY: writeIntArrayTagPayload((IntArrayTag) tag); + break; default: throw new IOException("Invalid tag type: " + type + "."); }