Reset hover ticks if found on ground.

This commit is contained in:
asofold 2013-03-03 18:00:21 +01:00
parent ec5a504d7f
commit 6b5b9ce0e4

View File

@ -1278,7 +1278,7 @@ public class MovingListener extends CheckListener implements TickListener, IRemo
final boolean res;
if (info.from.isOnGround() || info.from.isResetCond() || info.from.isAboveLadder() || info.from.isAboveStairs()){
res = true;
// TODO: data.sfHoverTicks = -1 || 0;
data.sfHoverTicks = 0;
}
else{
if (data.sfHoverTicks > cc.sfHoverTicks){