Added writeNBTCompound to PacketUpdate