aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/miscgui/AccessoryBagOverlay.java
diff options
context:
space:
mode:
authorjani270 <69345714+jani270@users.noreply.github.com>2024-01-13 20:02:35 +0100
committerGitHub <noreply@github.com>2024-01-13 20:02:35 +0100
commit9613fe50e8f0076ed9a0b719052f4163960f9565 (patch)
treede8924ba39a3f818da21f910f26ad48507430749 /src/main/java/io/github/moulberry/notenoughupdates/miscgui/AccessoryBagOverlay.java
parent33e458dbf4327b60faef180322cfba5da7ce3370 (diff)
downloadnotenoughupdates-9613fe50e8f0076ed9a0b719052f4163960f9565.tar.gz
notenoughupdates-9613fe50e8f0076ed9a0b719052f4163960f9565.tar.bz2
notenoughupdates-9613fe50e8f0076ed9a0b719052f4163960f9565.zip
Fixed HATCCESSORY -> HATCESSORY (#1001)
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/miscgui/AccessoryBagOverlay.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscgui/AccessoryBagOverlay.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/AccessoryBagOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/AccessoryBagOverlay.java
index 27a0bbb3..6e81351a 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/AccessoryBagOverlay.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/AccessoryBagOverlay.java
@@ -444,7 +444,7 @@ public class AccessoryBagOverlay {
if (checkItemType(
entry.getValue().get("lore").getAsJsonArray(),
"ACCESSORY",
- "HATCCESSORY",
+ "HATCESSORY",
"DUNGEON ACCESSORY"
) >= 0) {
missingInternal.add(entry.getKey());
@@ -1038,7 +1038,7 @@ public class AccessoryBagOverlay {
}
public static boolean isAccessory(ItemStack stack) {
- return checkItemType(stack, true, "ACCESSORY", "HATCCESSORY") >= 0;
+ return checkItemType(stack, true, "ACCESSORY", "HATCESSORY") >= 0;
}
public static int getRarity(ItemStack stack) {