aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorLorenz <lo.scherf@gmail.com>2022-07-29 17:33:36 +0200
committerLorenz <lo.scherf@gmail.com>2022-07-29 17:33:36 +0200
commitbecaf5bf5b56fcf76c4934e2f1883b252fcb4194 (patch)
treef8de3895531e851b87bb8396080ff0c5567ddfd2 /src/main
parentacbc008afa00513ee9255cb87ff13d8af0ad7fad (diff)
downloadNotEnoughUpdates-becaf5bf5b56fcf76c4934e2f1883b252fcb4194.tar.gz
NotEnoughUpdates-becaf5bf5b56fcf76c4934e2f1883b252fcb4194.tar.bz2
NotEnoughUpdates-becaf5bf5b56fcf76c4934e2f1883b252fcb4194.zip
fixed slayer error
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/loaders/MinionHelperRepoLoader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/loaders/MinionHelperRepoLoader.java b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/loaders/MinionHelperRepoLoader.java
index 2786b7cd..42c52416 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/loaders/MinionHelperRepoLoader.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/loaders/MinionHelperRepoLoader.java
@@ -228,7 +228,7 @@ public class MinionHelperRepoLoader {
}
case "slayer_req": {
String[] split = value.split("_");
- String slayerType = split[0];
+ String slayerType = split[0].toLowerCase();
int tier = Integer.parseInt(split[1]);
minion.getRequirements().add(new SlayerRequirement(slayerType, tier));
break;