Sanity clean up

This commit is contained in:
h31ix committed 2013-10-11 11:16:15 -04:00
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");
}
}