mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Fix #148 and subsequent issues; verify BlockHardness coverage
This commit is contained in:
1 parent
8c82571b86
commit
114aae73c0
4 files changed
+78
-6
No files matched your search
@@ -189,7 +189,7 @@ public final class Utilities {
|
||||
double thardness = ToolHardness.getToolHardness(tool.getType());
|
||||
long enchantlvl = (long) tool.getEnchantmentLevel(Enchantment.DIG_SPEED);
|
||||
|
||||
long result = (long) ((long) Math.round((bhardness * thardness) * 0.10 * 10000));
|
||||
long result = Math.round((bhardness * thardness) * 0.10 * 10000);
|
||||
|
||||
result += 150;
|
||||
|
||||
|
||||
Reference in new issue
Block a user