aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io
diff options
context:
space:
mode:
authorRoman / Linnea Gräf <roman.graef@gmail.com>2022-10-04 15:13:43 +0200
committerGitHub <noreply@github.com>2022-10-04 15:13:43 +0200
commit34d049d2611dab85f6fee6c2f13a51e8f8e284bd (patch)
treeaa7538940df524e0112c46cf161a9c0a87353ca3 /src/main/java/io
parent6f44a62fa9fde32e3ecdefa459a64822ba00a43d (diff)
downloadNotEnoughUpdates-34d049d2611dab85f6fee6c2f13a51e8f8e284bd.tar.gz
NotEnoughUpdates-34d049d2611dab85f6fee6c2f13a51e8f8e284bd.tar.bz2
NotEnoughUpdates-34d049d2611dab85f6fee6c2f13a51e8f8e284bd.zip
Translate Hypixel to NEU ids (#332)
Diffstat (limited to 'src/main/java/io')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/util/ItemResolutionQuery.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/util/ItemResolutionQuery.java b/src/main/java/io/github/moulberry/notenoughupdates/util/ItemResolutionQuery.java
index 4d3b4645..3692602a 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/util/ItemResolutionQuery.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/util/ItemResolutionQuery.java
@@ -274,7 +274,7 @@ public class ItemResolutionQuery {
private String resolveFromSkyblock() {
String internalName = getExtraAttributes().getString("id");
if (internalName == null || internalName.isEmpty()) return null;
- return internalName.toUpperCase(Locale.ROOT);
+ return internalName.toUpperCase(Locale.ROOT).replace(':', '-');
}
// </editor-fold>