Skip to content

Commit

Permalink
fix: use Widget#getName to obtain CoX party members (#600)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheStonedTurtle authored Nov 21, 2024
1 parent 376b669 commit d8fde83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## Unreleased

- Minor: Enable the leagues notifier again. (#597)
- Bugfix: Identify all CoX members from raiding party widget. (#600)

## 1.10.13

Expand Down
6 changes: 3 additions & 3 deletions src/main/java/dinkplugin/util/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,9 @@ private Collection<String> getXericChambersParty(@NotNull Client client) {

List<String> names = new ArrayList<>(children.length / 4);
for (Widget child : children) {
String text = child.getText();
if (text.startsWith("<col=ffffff>")) {
names.add(sanitize(text));
String name = sanitize(child.getName());
if (!name.isEmpty()) {
names.add(name);
}
}
return names;
Expand Down

0 comments on commit d8fde83

Please sign in to comment.