mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-12-27 02:48:04 +01:00
Fix vertical accounting not triggering an actual violation (glide).
This commit is contained in:
parent
2219fa0e6f
commit
e24ccc734a
@ -723,7 +723,7 @@ public class SurvivalFly extends Check {
|
||||
return 1.3 - aDiff;
|
||||
}
|
||||
else{
|
||||
return diff;
|
||||
return Math.max(0.07, diff); // Ensure violation > 0.0 (!).
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user