diff options
| author | NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> | 2024-08-13 23:35:54 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-13 23:35:54 +1000 |
| commit | e8005ef18dda906a2b5c6db1e86eb65be692405a (patch) | |
| tree | ad9017ce0c35cb88b7166afb62e589cc41c82ccd | |
| parent | 644528d058fa76c6c79c4a86be9fca78f7ce684e (diff) | |
| download | notenoughupdates-e8005ef18dda906a2b5c6db1e86eb65be692405a.tar.gz notenoughupdates-e8005ef18dda906a2b5c6db1e86eb65be692405a.tar.bz2 notenoughupdates-e8005ef18dda906a2b5c6db1e86eb65be692405a.zip | |
meta: fix pet overlay causing widget popup in rift (#1324)
| -rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/PetInfoOverlay.java | 2 |
1 files changed, 2 insertions, 0 deletions
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); |
