Skip to content

Commit

Permalink
Reset hover ticks if found on ground.
Browse files Browse the repository at this point in the history
  • Loading branch information
asofold committed Mar 3, 2013
1 parent ec5a504 commit 6b5b9ce
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1278,7 +1278,7 @@ private final boolean checkHover(final Player player, final MovingData data, fin
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){
Expand Down

0 comments on commit 6b5b9ce

Please sign in to comment.