mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-07 11:10:05 +01:00
Attempt 2 to fix Vehicles.
This commit is contained in:
parent
32eece216e
commit
a98dca7e81
@ -490,9 +490,8 @@ public class MovingListener implements Listener {
|
||||
|
||||
// Emergency fix:
|
||||
final MovingData data = MovingData.getData(player);
|
||||
data.noFallFallDistance = 0;
|
||||
data.noFallVL = 0;
|
||||
data.noFallOnGroundClient = data.noFallOnGroundServer = data.noFallWasOnGroundClient = data.noFallWasOnGroundServer = true;
|
||||
data.clearFlyData();
|
||||
player.setFallDistance(0.0f);
|
||||
|
||||
if (morePacketsVehicle.isEnabled(player))
|
||||
// If the player is handled by the more packets vehicle check, execute it.
|
||||
|
Loading…
Reference in New Issue
Block a user