1
0
Fork 0
This repository has been archived on 2024-03-22. You can view files and clone it, but cannot push or open issues or pull requests.
GibsoniaCraft/plugin/src/lightling/gibsoniacraft/util/ToolUtil.java

16 lines
298 B
Java

package lightling.gibsoniacraft.util;
import org.bukkit.Material;
public class ToolUtil
{
public boolean IsMineable(Material mat)
{
return BlockRef.ValidHammerBlocks.contains(mat);
}
public boolean IsDiggable(Material mat)
{
return BlockRef.ValidExcavatorBlocks.contains(mat);
}
}