Skip to content

Commit

Permalink
fix: completed quest progress selector
Browse files Browse the repository at this point in the history
  • Loading branch information
feildmaster committed Oct 16, 2023
1 parent be84c91 commit 569cd45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# UnderScript Changelog

## Version 0.55.2 (2023-10-16)
1. Fixed another quest bug

## Version 0.55.1 (2023-10-16)
1. Fixed quest detection

Expand Down
2 changes: 1 addition & 1 deletion src/structures/quests/Quest.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default class Quest extends Base {
update(data) {
if (data instanceof Element) {
this.#claimable = data.querySelector('input[type="submit"][value="Claim"]:not(:disabled)') !== null;
this.#progress = new Progress(data.querySelector('progress.xpBar'));
this.#progress = new Progress(data.querySelector('progress'));
this.#reward = new Reward(data.querySelector('td:nth-last-child(2)'));
} else if (isQuest(data)) {
this.#claimable = data.claimable;
Expand Down

0 comments on commit 569cd45

Please sign in to comment.