mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2026-02-21 19:22:59 +01:00
1.16 Support part 2
This commit is contained in:
@@ -7,6 +7,10 @@ public final class MaterialUtils {
|
||||
private MaterialUtils() {}
|
||||
|
||||
protected static boolean isOre(Material data) {
|
||||
//Netherrite Ore (Kind of)
|
||||
if(data.getKey().getKey().equalsIgnoreCase("ancient_debris"))
|
||||
return true;
|
||||
|
||||
switch (data) {
|
||||
case COAL_ORE:
|
||||
case DIAMOND_ORE:
|
||||
|
||||
Reference in New Issue
Block a user