Attempt 2 to fix Vehicles.

This commit is contained in:
asofold 2012-08-12 05:30:48 +02:00
parent 32eece216e
commit a98dca7e81

View File

@ -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.