mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 14:38:56 +00:00
Sanity clean up
This commit is contained in:
1 parent
ca4406809b
commit
9486e18c4f
47 files changed
+710
-784
No files matched your search
@@ -18,6 +18,7 @@
|
||||
|
||||
package net.h31ix.anticheat.util;
|
||||
|
||||
|
||||
import org.bukkit.Material;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
@@ -26,8 +27,8 @@ public class BlockHardnessTest {
|
||||
|
||||
@Test
|
||||
public void verifyExistence() {
|
||||
for(Material m : Material.values()) {
|
||||
if(!BlockHardness.hasBlockHardness(m) && m.isBlock() && m != Material.AIR && m != Material.BEDROCK) {
|
||||
for (Material m : Material.values()) {
|
||||
if (!BlockHardness.hasBlockHardness(m) && m.isBlock() && m != Material.AIR && m != Material.BEDROCK) {
|
||||
Assert.fail("Material " + m + " is not accounted for by BlockHardness");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user