mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-14 11:31:26 +01:00
Add comment.
This commit is contained in:
parent
e0c6e9ebdd
commit
e342b07654
@ -298,6 +298,7 @@ public class SurvivalFly extends Check {
|
|||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
// Check traveled y-distance, orientation is air + jumping + velocity (as far as it gets).
|
// 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;
|
vAllowedDistance = (!(fromOnGround || data.noFallAssumeGround) && !toOnGround ? 1.45D : 1.35D) + data.verticalFreedom;
|
||||||
int maxJumpPhase;
|
int maxJumpPhase;
|
||||||
if (data.mediumLiftOff == MediumLiftOff.LIMIT_JUMP){
|
if (data.mediumLiftOff == MediumLiftOff.LIMIT_JUMP){
|
||||||
|
Loading…
Reference in New Issue
Block a user