Reduce extra fastBreak time calculation

This commit is contained in:
gravitylow committed 2014-02-25 20:13:30 -05:00
1 parent 2a8e56e5e6
commit e8c5a55f34
1 file changed
+1 -7
@@ -352,17 +352,11 @@ public final class Utilities {
long result = Math.round((bhardness * thardness) * 0.10 * 10000);
result += 150;
if (enchantlvl > 0) {
result /= enchantlvl * enchantlvl + 1L;
}
if (result > 25000) {
result = 25000;
} else if (result < 0) {
result = 0;
}
result = result > 25000 ? 25000 : result < 0 ? 0 : result;
if (isQuickCombo(tool, block)) {
result = result / 2;