diff options
author | Lorenz <lo.scherf@gmail.com> | 2022-07-29 17:17:29 +0200 |
---|---|---|
committer | Lorenz <lo.scherf@gmail.com> | 2022-07-29 17:17:29 +0200 |
commit | acbc008afa00513ee9255cb87ff13d8af0ad7fad (patch) | |
tree | e7c8fed918fa65ff74bfe841019b91cbe1b99762 /src/main/java/io | |
parent | ee9cef814b12de60cc25763232c631f6ab5af4cc (diff) | |
download | NotEnoughUpdates-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.java | 6 |
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"; } |