mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-02-05 14:21:36 +01:00
Don't forget to increase the VL.
This commit is contained in:
parent
3bb6e94432
commit
cd2cb78ad6
@ -31,6 +31,7 @@ public class Speed extends Check {
|
||||
// Lag correction
|
||||
final int correctedCount = (int) ((double) data.speedCount / TickTask.getLag(time - data.speedTime));
|
||||
if (correctedCount > cc.speedLimit){
|
||||
data.speedVL ++;
|
||||
if (executeActions(player, data.speedVL, 1, cc.speedActions)){
|
||||
cancel = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user