mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-02 08:40:01 +01:00
Attempt vehicles: reset fly data and fall height in the nofall check
if in vehicle.
This commit is contained in:
parent
a2783dc0e6
commit
68bfea63c5
@ -51,7 +51,8 @@ public class NoFall extends Check {
|
||||
|
||||
if (player.isInsideVehicle()){
|
||||
// Emergency fix attempt:
|
||||
data.noFallFallDistance = 0; // Hope the vehicle move does the rest.
|
||||
data.clearFlyData(); // Hope the vehicle move does the rest.
|
||||
player.setFallDistance(0.0f);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user