mcMMO/src/main/java/com/gmail/nossr50/util/MaterialUtils.java

13 lines
295 B
Java
Raw Normal View History

package com.gmail.nossr50.util;
2014-03-03 18:27:45 +01:00
import com.gmail.nossr50.mcMMO;
import org.bukkit.Material;
2014-03-03 18:27:45 +01:00
public final class MaterialUtils {
private MaterialUtils() {}
protected static boolean isOre(Material data) {
2020-03-02 23:52:51 +01:00
return mcMMO.getMaterialMapStore().isOre(data.getKey().getKey());
}
}