aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io
diff options
context:
space:
mode:
authorLorenz <lo.scherf@gmail.com>2022-07-29 17:17:29 +0200
committerLorenz <lo.scherf@gmail.com>2022-07-29 17:17:29 +0200
commitacbc008afa00513ee9255cb87ff13d8af0ad7fad (patch)
treee7c8fed918fa65ff74bfe841019b91cbe1b99762 /src/main/java/io
parentee9cef814b12de60cc25763232c631f6ab5af4cc (diff)
downloadNotEnoughUpdates-acbc008afa00513ee9255cb87ff13d8af0ad7fad.tar.gz
NotEnoughUpdates-acbc008afa00513ee9255cb87ff13d8af0ad7fad.tar.bz2
NotEnoughUpdates-acbc008afa00513ee9255cb87ff13d8af0ad7fad.zip
better explanation
Diffstat (limited to 'src/main/java/io')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/loaders/MinionHelperApiLoader.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/loaders/MinionHelperApiLoader.java b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/loaders/MinionHelperApiLoader.java
index b6239fe6..4d73577a 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/loaders/MinionHelperApiLoader.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/loaders/MinionHelperApiLoader.java
@@ -121,6 +121,7 @@ public class MinionHelperApiLoader {
int level = Integer.parseInt(split[split.length - 1]);
String name = StringUtils.removeLastWord(text, "_");
+ //Because skyblock is good in naming things
LinkedHashMap<String, ItemStack> collectionMap = ProfileViewer.getCollectionToCollectionDisplayMap();
if (collectionMap.containsKey(name)) {
ItemStack itemStack = collectionMap.get(name);
@@ -128,10 +129,7 @@ public class MinionHelperApiLoader {
name = Utils.cleanColour(displayName);
name = manager.formatInternalName(name);
} else {
- /**
- * Because skyblock is good in naming things
- * Since there is no space in the profile viewer page for more collectionToCollectionDisplayMap entries
- */
+ //Doing this since there is no space in the profile viewer gui for more entries in collectionToCollectionDisplayMap
if (name.equals("SAND:1")) name = "RED_SAND";
if (name.equals("MYCEL")) name = "MYCELIUM";
}