mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-12-04 21:01:02 -05:00
Fix fallthrough when writing NBT_TAG metadata
This commit is contained in:
parent
9be58c55d8
commit
4301d73953
1 changed files with 1 additions and 0 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue