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:
asofold 2015-09-13 14:47:31 +02:00
parent b2caae38d2
commit f3a137709b

View File

@ -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);