aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/util/ItemUtils.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/util/ItemUtils.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/util/ItemUtils.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/util/ItemUtils.java b/src/main/java/io/github/moulberry/notenoughupdates/util/ItemUtils.java
index 6cc1bbe7..3e2dd465 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/util/ItemUtils.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/util/ItemUtils.java
@@ -417,4 +417,13 @@ public class ItemUtils {
line.equals("§8§l* Soulbound §8§l*"));
}
+ public static String fixDraconicId(String id) {
+ if (id.equals("ASPECT_OF_THE_DRAGONS")) return "ASPECT_OF_THE_DRAGON";
+ if (id.equals("ENDER_HELMET")) return "END_HELMET";
+ if (id.equals("ENDER_CHESTPLATE")) return "END_CHESTPLATE";
+ if (id.equals("ENDER_LEGGINGS")) return "END_LEGGINGS";
+ if (id.equals("ENDER_BOOTS")) return "END_BOOTS";
+ return id;
+ }
+
}