From 569cd456f6e7723ed53c990220f4b9f44d7d4567 Mon Sep 17 00:00:00 2001 From: feildmaster Date: Mon, 16 Oct 2023 11:15:17 -0500 Subject: [PATCH] fix: completed quest progress selector --- changelog.md | 3 +++ src/structures/quests/Quest.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index e36c9d6..417672b 100644 --- a/changelog.md +++ b/changelog.md @@ -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 diff --git a/src/structures/quests/Quest.js b/src/structures/quests/Quest.js index 81a3395..dcce94f 100644 --- a/src/structures/quests/Quest.js +++ b/src/structures/quests/Quest.js @@ -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;