Add comment.

This commit is contained in:
asofold 2013-02-27 21:25:17 +01:00
parent e0c6e9ebdd
commit e342b07654

View File

@ -298,6 +298,7 @@ public class SurvivalFly extends Check {
}
else{
// Check traveled y-distance, orientation is air + jumping + velocity (as far as it gets).
// TODO: Can it be easily transformed to a more accurate max. absolute height?
vAllowedDistance = (!(fromOnGround || data.noFallAssumeGround) && !toOnGround ? 1.45D : 1.35D) + data.verticalFreedom;
int maxJumpPhase;
if (data.mediumLiftOff == MediumLiftOff.LIMIT_JUMP){