mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-03 06:28:52 +00:00
Fix spotty bug
This commit is contained in:
1 parent
0a8b4b7c25
commit
4ee6e14153
3 files changed
+8
-9
No files matched your search
@@ -190,7 +190,7 @@ public enum BlockHardness {
|
||||
|
||||
public static double getBlockHardness(Material m) {
|
||||
BlockHardness h = getHardness(m);
|
||||
return h == null ? 1.0D : h.hardness;
|
||||
return h == null ? 0D : h.hardness;
|
||||
}
|
||||
|
||||
public static boolean hasBlockHardness(Material m) {
|
||||
|
||||
Reference in new issue
Block a user