mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-02 08:40:01 +01:00
Increase minimal delay between two jumps from 3 to 9 ticks
This commit is contained in:
parent
5d56a8c66c
commit
f3df291f85
@ -71,7 +71,7 @@ public class FlyingCheck extends MovingCheck {
|
||||
|
||||
// Try to treat it as a the "bunnyhop" problem
|
||||
if(data.bunnyhopdelay <= 0 && resultHoriz < 0.4D) {
|
||||
data.bunnyhopdelay = 3;
|
||||
data.bunnyhopdelay = 9;
|
||||
resultHoriz = 0;
|
||||
}
|
||||
}
|
||||
|
@ -170,7 +170,7 @@ public class RunningCheck extends MovingCheck {
|
||||
|
||||
// Try to treat it as a the "bunnyhop" problem
|
||||
if(data.bunnyhopdelay <= 0 && distanceAboveLimit > 0.05D && distanceAboveLimit < 0.4D) {
|
||||
data.bunnyhopdelay = 3;
|
||||
data.bunnyhopdelay = 9;
|
||||
distanceAboveLimit = 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user