mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-07 11:10:05 +01:00
Part-revert activating vertical accounting once velocity is used up.
* Don't activate accounting (velocity downwards issue, needs recode). * Do still check yDirChange once velocity effects are gone.
This commit is contained in:
parent
b2caae38d2
commit
f3a137709b
@ -808,7 +808,7 @@ public class SurvivalFly extends Check {
|
||||
// Allow adding 0.
|
||||
data.vDistAcc.add((float) yDistance);
|
||||
}
|
||||
else if (!data.hasAnyVerVel()) {
|
||||
else if (!data.isVelocityJumpPhase()) { // TODO: !data.hasAnyVerVel()) {
|
||||
// Here yDistance can be negative and positive.
|
||||
if (yDistance != 0D) {
|
||||
data.vDistAcc.add((float) yDistance);
|
||||
|
Loading…
Reference in New Issue
Block a user