how do i stop spam jumping?

in my platformer the player is able to spam jump to fly,like flappy bird, how do i stop this?

instead of creating your own run and jump go to behavior bundles and click run and jump this ill give you a pre-made run and jump you may have to tweak it to your likings

Could you leave a link?