Also ignore hover for players inside of vehicles.

This commit is contained in:
asofold 2013-01-21 02:08:25 +01:00
parent 4f3e4fad65
commit f0ea06bea6

View File

@ -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){