mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-07 11:10:05 +01:00
More margin for falling after data reset.
This commit is contained in:
parent
6b1277e981
commit
222a983e34
@ -1141,7 +1141,7 @@ public class SurvivalFly extends Check {
|
||||
tags.add("data_missing");
|
||||
}
|
||||
double vAllowedDistance;
|
||||
if (thisMove.yDistance > - Magic.GRAVITY_MAX && thisMove.yDistance < 0.0) {
|
||||
if (thisMove.yDistance > - Magic.GRAVITY_MAX - Magic.GRAVITY_SPAN && thisMove.yDistance < 0.0) {
|
||||
// Allow falling.
|
||||
vAllowedDistance = thisMove.yDistance;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user