mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-12-26 10:28:05 +01:00
Also ignore hover for players inside of vehicles.
This commit is contained in:
parent
4f3e4fad65
commit
f0ea06bea6
@ -1035,7 +1035,7 @@ public class MovingListener extends CheckListener implements TickListener, IRemo
|
||||
continue;
|
||||
}
|
||||
final MovingData data = MovingData.getData(player);
|
||||
if (player.isDead() || player.isSleeping()){
|
||||
if (player.isDead() || player.isSleeping() || player.isInsideVehicle()){
|
||||
data.sfHoverTicks = -1;
|
||||
}
|
||||
if (data.sfHoverTicks < 0){
|
||||
|
Loading…
Reference in New Issue
Block a user