Ohhh whoopsie sorry about that.. When the player character detects a wall/platform above and in front of it they won't jump. I should have thought about that. My bad!