aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorLorenz <lo.scherf@gmail.com>2022-07-30 11:40:54 +0200
committerLorenz <lo.scherf@gmail.com>2022-07-30 11:40:54 +0200
commitbc75fa40f943490cb8be9669ab2a7f84a2efdbb6 (patch)
tree2f33148b74e3f74d65a947664c206dfbd5feb8d3 /src/main
parentab3d7c676caf3cc3dbe9c07a25bc555b0b87d7c9 (diff)
downloadNotEnoughUpdates-bc75fa40f943490cb8be9669ab2a7f84a2efdbb6.tar.gz
NotEnoughUpdates-bc75fa40f943490cb8be9669ab2a7f84a2efdbb6.tar.bz2
NotEnoughUpdates-bc75fa40f943490cb8be9669ab2a7f84a2efdbb6.zip
edited design
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/requirements/CollectionRequirement.java2
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/requirements/SlayerRequirement.java4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/requirements/CollectionRequirement.java b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/requirements/CollectionRequirement.java
index e6b3c542..603834f8 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/requirements/CollectionRequirement.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/requirements/CollectionRequirement.java
@@ -39,6 +39,6 @@ public class CollectionRequirement extends MinionRequirement {
@Override
public String printDescription() {
- return "Collection: " + collection + " lvl " + level;
+ return "Collection: " + collection + " level " + level;
}
}
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/requirements/SlayerRequirement.java b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/requirements/SlayerRequirement.java
index 30b09cb0..d20555b8 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/requirements/SlayerRequirement.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/minionhelper/requirements/SlayerRequirement.java
@@ -19,6 +19,8 @@
package io.github.moulberry.notenoughupdates.miscgui.minionhelper.requirements;
+import io.github.moulberry.notenoughupdates.core.util.StringUtils;
+
public class SlayerRequirement extends MinionRequirement {
private final String slayer;
@@ -39,6 +41,6 @@ public class SlayerRequirement extends MinionRequirement {
@Override
public String printDescription() {
- return "Slayer: " + slayer + " lvl " + level;
+ return "Slayer: " + StringUtils.firstUpperLetter(slayer) + " level " + level;
}
}