Removed unused timer check

This commit is contained in:
Rammelkast committed 2020-04-20 15:34:45 +02:00
1 parent 91f5fcd31c
commit 76c595e255
4 files changed
+4 -36

No files matched your search

@@ -80,7 +80,9 @@ public class GlideCheck {
}
}
} else {
// TODO more sophisticated check
if (fallDistance > LAST_FALL_DISTANCE.get(player.getUniqueId()) && !player.isOnGround()) {
// TODO check gravity
}
}
LAST_DIFFERENCE.put(player.getUniqueId(), distance.getYDifference());
LAST_FALL_DISTANCE.put(player.getUniqueId(), player.getFallDistance());