1
0
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:
nossr50
2020-02-28 16:44:37 -08:00
parent efea1c5d33
commit 1101815f18
3 changed files with 40 additions and 2 deletions

View File

@@ -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: