mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-09-01 18:19:34 +02: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
|
// Lag correction
|
||||||
final int correctedCount = (int) ((double) data.speedCount / TickTask.getLag(time - data.speedTime));
|
final int correctedCount = (int) ((double) data.speedCount / TickTask.getLag(time - data.speedTime));
|
||||||
if (correctedCount > cc.speedLimit){
|
if (correctedCount > cc.speedLimit){
|
||||||
|
data.speedVL ++;
|
||||||
if (executeActions(player, data.speedVL, 1, cc.speedActions)){
|
if (executeActions(player, data.speedVL, 1, cc.speedActions)){
|
||||||
cancel = true;
|
cancel = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user