From a4a1c15a0b0de01e862c0f11882b45fee2c0cca7 Mon Sep 17 00:00:00 2001 From: CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> Date: Fri, 12 Apr 2024 18:45:23 +1000 Subject: meta: Add back old skill info method as well (#1089) Add back old skill info method as well --- .../java/io/github/moulberry/notenoughupdates/util/XPInformation.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main') 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 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())) { -- cgit