From e8005ef18dda906a2b5c6db1e86eb65be692405a Mon Sep 17 00:00:00 2001 From: NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> Date: Tue, 13 Aug 2024 23:35:54 +1000 Subject: meta: fix pet overlay causing widget popup in rift (#1324) --- .../github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.java index 31ce3656..a6a0f844 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.java @@ -935,6 +935,8 @@ public class PetInfoOverlay extends TextOverlay { return; } + if ("rift".equals(SBInfo.getInstance().getLocation())) return; + for (String line : TablistAPI.getWidgetLines(TablistAPI.WidgetNames.PET)) { line = Utils.cleanColour(line).trim().replace(",", ""); Matcher normalXPMatcher = TAB_LIST_XP.matcher(line); -- cgit