Skip to content

Commit

Permalink
Fix RW Stats Estimates profile ID extraction.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sashank999 committed Feb 17, 2024
1 parent 31dd1b9 commit 9092caa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion extension/changelog.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
"date": false,
"logs": {
"features": [{ "message": "Added 'in a faction' filter to hospital, jail, and travel pages.", "contributor": "ThtAstronautGuy" }],
"fixes": [{ "message": "Trade Item Values after Trade page redesign.", "contributor": "TheFoxMan" }],
"fixes": [
{ "message": "Trade Item Values after Trade page redesign.", "contributor": "TheFoxMan" },
{ "message": "RW Stats Estimates profile IDs.", "contributor": "TheFoxMan" }
],
"changes": [],
"removed": []
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
".faction-war .members-list > li.enemy, .faction-war .members-list > li.your",
(row) => {
return {
id: parseInt(row.find("[class*='userWrap__'] > a").id.split("-")[0]),
id: parseInt(row.find("[class*='honorWrap__'] > a").href.split("XID=")[1]),
level: parseInt(row.find(".level").textContent.trim()),
};
},
Expand Down

0 comments on commit 9092caa

Please sign in to comment.