mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-09-03 19:00:30 +02: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;
|
final boolean res;
|
||||||
if (info.from.isOnGround() || info.from.isResetCond() || info.from.isAboveLadder() || info.from.isAboveStairs()){
|
if (info.from.isOnGround() || info.from.isResetCond() || info.from.isAboveLadder() || info.from.isAboveStairs()){
|
||||||
res = true;
|
res = true;
|
||||||
// TODO: data.sfHoverTicks = -1 || 0;
|
data.sfHoverTicks = 0;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
if (data.sfHoverTicks > cc.sfHoverTicks){
|
if (data.sfHoverTicks > cc.sfHoverTicks){
|
||||||
|
|
Loading…
Reference in New Issue
Block a user