Add isMeltable() Method

This commit is contained in:
MistPhizzle 2014-06-13 16:43:23 -04:00
parent a050d86886
commit 219b1868bd

View file

@ -476,6 +476,13 @@ public class Methods {
return null;
}
public static boolean isMeltable(Block block) {
if (block.getType() == Material.ICE || block.getType() == Material.SNOW || block.getType() == Material.PACKED_ICE) {
return true;
}
return false;
}
public static void removeRevertIndex(Block block) {
if (movedearth.containsKey(block)) {
Information info = movedearth.get(block);