mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-24 06:06:45 +01:00
13 lines
295 B
Java
13 lines
295 B
Java
package com.gmail.nossr50.util;
|
|
|
|
import com.gmail.nossr50.mcMMO;
|
|
import org.bukkit.Material;
|
|
|
|
public final class MaterialUtils {
|
|
private MaterialUtils() {}
|
|
|
|
protected static boolean isOre(Material data) {
|
|
return mcMMO.getMaterialMapStore().isOre(data.getKey().getKey());
|
|
}
|
|
}
|