diff options
author | Roman / Linnea Gräf <roman.graef@gmail.com> | 2022-10-04 15:13:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-04 15:13:43 +0200 |
commit | 34d049d2611dab85f6fee6c2f13a51e8f8e284bd (patch) | |
tree | aa7538940df524e0112c46cf161a9c0a87353ca3 | |
parent | 6f44a62fa9fde32e3ecdefa459a64822ba00a43d (diff) | |
download | NotEnoughUpdates-34d049d2611dab85f6fee6c2f13a51e8f8e284bd.tar.gz NotEnoughUpdates-34d049d2611dab85f6fee6c2f13a51e8f8e284bd.tar.bz2 NotEnoughUpdates-34d049d2611dab85f6fee6c2f13a51e8f8e284bd.zip |
Translate Hypixel to NEU ids (#332)
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/util/ItemResolutionQuery.java | 2 |
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> |