Skip to content

Conversation

@vinaghost
Copy link
Owner

Refactor the IsInventoryPage method in InventoryParser.cs to change the logic for selecting <a> nodes within the heroDiv element. Replaced the GetAttributeValue check for data-tab with a HasClass check for the tabItem class. This improves the clarity and maintainability of the node selection logic.

Refactor the `IsInventoryPage` method in `InventoryParser.cs` to change the logic for selecting `<a>` nodes within the `heroDiv` element.
Replaced the `GetAttributeValue` check for `data-tab` with a `HasClass` check for the `tabItem` class.
This improves the clarity and maintainability of the node selection logic.
@vinaghost vinaghost self-assigned this Dec 7, 2025
@github-actions
Copy link

github-actions bot commented Dec 7, 2025

Version of this build is 2.12.92
Check download link here

@vinaghost vinaghost merged commit 3713fb1 into main Dec 8, 2025
4 checks passed
@vinaghost vinaghost deleted the fixes/use-resource-from-hero-inventory-part2 branch December 8, 2025 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants