diff options
author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2024-04-12 18:45:23 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-12 10:45:23 +0200 |
commit | a4a1c15a0b0de01e862c0f11882b45fee2c0cca7 (patch) | |
tree | cee149a166bd1b32104dec1133952f2751d700cb /src/main | |
parent | 11d44b1f0f51d0f32403951a28375f8eb735d461 (diff) | |
download | NotEnoughUpdates-a4a1c15a0b0de01e862c0f11882b45fee2c0cca7.tar.gz NotEnoughUpdates-a4a1c15a0b0de01e862c0f11882b45fee2c0cca7.tar.bz2 NotEnoughUpdates-a4a1c15a0b0de01e862c0f11882b45fee2c0cca7.zip |
meta: Add back old skill info method as well (#1089)
Add back old skill info method as well
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/util/XPInformation.java | 4 |
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())) { |