Update Player.hx

Fixes double-jump bug: Before you could do "infinite" mini double jumps by tapping the jump key before the apex is reached. Now you can only do JUMPS_ALLOWED double jumps (still works fine with dynamic jump).