diff options
author | Lorenz <lo.scherf@gmail.com> | 2022-07-30 11:40:54 +0200 |
---|---|---|
committer | Lorenz <lo.scherf@gmail.com> | 2022-07-30 11:40:54 +0200 |
commit | bc75fa40f943490cb8be9669ab2a7f84a2efdbb6 (patch) | |
tree | 2f33148b74e3f74d65a947664c206dfbd5feb8d3 /src/main | |
parent | ab3d7c676caf3cc3dbe9c07a25bc555b0b87d7c9 (diff) | |
download | NotEnoughUpdates-bc75fa40f943490cb8be9669ab2a7f84a2efdbb6.tar.gz NotEnoughUpdates-bc75fa40f943490cb8be9669ab2a7f84a2efdbb6.tar.bz2 NotEnoughUpdates-bc75fa40f943490cb8be9669ab2a7f84a2efdbb6.zip |
edited design
Diffstat (limited to 'src/main')
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; } } |