mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-12-26 10:28:05 +01:00
Reset hover ticks if found on ground.
This commit is contained in:
parent
ec5a504d7f
commit
6b5b9ce0e4
@ -1278,7 +1278,7 @@ public class MovingListener extends CheckListener implements TickListener, IRemo
|
||||
final boolean res;
|
||||
if (info.from.isOnGround() || info.from.isResetCond() || info.from.isAboveLadder() || info.from.isAboveStairs()){
|
||||
res = true;
|
||||
// TODO: data.sfHoverTicks = -1 || 0;
|
||||
data.sfHoverTicks = 0;
|
||||
}
|
||||
else{
|
||||
if (data.sfHoverTicks > cc.sfHoverTicks){
|
||||
|
Loading…
Reference in New Issue
Block a user