mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-12-26 10:28:05 +01:00
Allow 0.2 hbuf-regain per packet.
This commit is contained in:
parent
0ac342fb92
commit
cadb98edbe
@ -386,7 +386,7 @@ public class SurvivalFly extends Check {
|
||||
// Finally check horizontal buffer regain.
|
||||
if (hDistanceAboveLimit < 0.0 && result <= 0.0 && hDistance > 0.0 && data.sfHorizontalBuffer < hBufMax) {
|
||||
// TODO: max min other conditions ?
|
||||
hBufRegain(hDistance, Math.min(0.1, Math.abs(hDistanceAboveLimit)), data);
|
||||
hBufRegain(hDistance, Math.min(0.2, Math.abs(hDistanceAboveLimit)), data);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user