Comment out lines 28 and 29. Then, add the following at that location:
and report back with what is displayed.
if (onGround() && Greenfoot.isKeyDown("up"))
{
System.out.println("Actor should jump");
System.out.println("Actor at: (" + getX() + ", " + getY() + ")");
jump();
}



