Exempt walking on wall/fence from flight check

This commit is contained in:
h31ix committed 2013-01-13 12:38:00 -05:00
1 parent 7ea8765212
commit cd0351f028
2 files changed
+9 -19

No files matched your search

@@ -203,6 +203,14 @@ public final class Utilities {
return result;
}
public static boolean blockIsnt(Block block, Material[] materials) {
Material type = block.getType();
for(Material m : materials) {
if(m == type) return false;
}
return false;
}
static {
INSTANT_BREAK.add(Material.RED_MUSHROOM);
INSTANT_BREAK.add(Material.RED_ROSE);