Fix fallthrough when writing NBT_TAG metadata

This commit is contained in:
Jonas Herzig 2017-06-10 10:20:01 +02:00
parent 9be58c55d8
commit 4301d73953

View file

@ -231,6 +231,7 @@ public class NetUtil {
break;
case NBT_TAG:
writeNBT(out, (CompoundTag) meta.getValue());
break;
default:
throw new IOException("Unknown metadata type: " + meta.getType());
}