float j; if (game != null) { j = jumpMP / game.getOptions().floatOption("gravity"); j = ((Math.round(j) - j) == 0.5) ? (Math.round(j - 0.1)) : Math.round(j); return (int)j; } else return jumpMP;
return getJumpMP();
    public int getJumpMPWithTerrain() {        float j;        if (game != null) {            j = jumpMP / game.getOptions().floatOption("gravity");            j = ((Math.round(j) - j) == 0.5) ? (Math.round(j - 0.1)) : Math.round(j);            return (int)j;        } else return jumpMP;    }