From c2f903d30782264cdecd26266e789b20d9c5b650 Mon Sep 17 00:00:00 2001 From: Lorenz Date: Sun, 11 Sep 2022 13:10:27 +0200 Subject: fixing eman requirement (workaround for wrong repo names) --- .../miscgui/minionhelper/util/MinionHelperRequirementsManager.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/util/MinionHelperRequirementsManager.java b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/util/MinionHelperRequirementsManager.java index adc30a53..bd3b4d1a 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/util/MinionHelperRequirementsManager.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/util/MinionHelperRequirementsManager.java @@ -87,6 +87,10 @@ public class MinionHelperRequirementsManager { } else if (requirement instanceof SlayerRequirement) { SlayerRequirement slayerRequirement = (SlayerRequirement) requirement; String slayer = slayerRequirement.getSlayer(); + //Because the neu-repo uses 'eman' and the hypixel api is using 'enderman' + if (slayer.equals("eman")) { + slayer = "enderman"; + } int need = slayerRequirement.getLevel(); Map slayerTiers = apiData.getSlayerTiers(); if (slayerTiers.containsKey(slayer)) { -- cgit