mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-23 00:15:05 +00:00
Add isMeltable() Method
This commit is contained in:
parent
a050d86886
commit
219b1868bd
1 changed files with 7 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue