aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/miscgui/hex/HexItem.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/miscgui/hex/HexItem.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscgui/hex/HexItem.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/hex/HexItem.java b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/hex/HexItem.java
index ab871888..11e0dc6d 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/hex/HexItem.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/hex/HexItem.java
@@ -219,6 +219,10 @@ public class HexItem {
if (itemName.contains("Amber Gemstone")) this.itemType = ItemType.AMBER_GEMSTONE;
if (itemName.contains("Opal Gemstone")) this.itemType = ItemType.OPAL_GEMSTONE;
if (itemName.contains("Topaz Gemstone")) this.itemType = ItemType.TOPAZ_GEMSTONE;
+ if (itemName.contains("Onyx Gemstone")) this.itemType = ItemType.ONYX_GEMSTONE;
+ if (itemName.contains("Aquamarine Gemstone")) this.itemType = ItemType.AQUAMARINE_GEMSTONE;
+ if (itemName.contains("Citrine Gemstone")) this.itemType = ItemType.CITRINE_GEMSTONE;
+ if (itemName.contains("Peridot Gemstone")) this.itemType = ItemType.PERIDOT_GEMSTONE;
if (itemName.contains("Gemstone Slot")) this.itemType = ItemType.GEMSTONE_SLOT;
if (this.itemName.contains(" Gemstone")) {
this.itemName = this.itemName.replace(" Gemstone", "").substring(2);
@@ -293,7 +297,9 @@ public class HexItem {
return itemType == ItemType.RUBY_GEMSTONE || itemType == ItemType.AMETHYST_GEMSTONE ||
itemType == ItemType.SAPPHIRE_GEMSTONE || itemType == ItemType.JASPER_GEMSTONE ||
itemType == ItemType.JADE_GEMSTONE || itemType == ItemType.AMBER_GEMSTONE ||
- itemType == ItemType.OPAL_GEMSTONE || itemType == ItemType.TOPAZ_GEMSTONE;
+ itemType == ItemType.OPAL_GEMSTONE || itemType == ItemType.TOPAZ_GEMSTONE ||
+ itemType == ItemType.ONYX_GEMSTONE || itemType == ItemType.AQUAMARINE_GEMSTONE ||
+ itemType == ItemType.CITRINE_GEMSTONE || itemType == ItemType.PERIDOT_GEMSTONE;
}
public boolean isEnrichment() {