aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/util/XPInformation.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/util/XPInformation.java b/src/main/java/io/github/moulberry/notenoughupdates/util/XPInformation.java
index e474f348..8336fbd0 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/util/XPInformation.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/util/XPInformation.java
@@ -73,6 +73,10 @@ public class XPInformation {
private Set<String> failedSkills = new HashSet<>();
+ public @Nullable SkillInfo getSkillInfo(String skillName) {
+ return getSkillInfo(skillName, false);
+ }
+
public @Nullable SkillInfo getSkillInfo(String skillName, boolean isHighlyInterested) {
var obj = skillInfoMap.get(skillName.toLowerCase());
if (isHighlyInterested && failedSkills.contains(skillName.toLowerCase())) {