Skip to content

Commit

Permalink
Fix interface version support, add workaround for rare issue with oth…
Browse files Browse the repository at this point in the history
…er addons related to tooltip parsing
  • Loading branch information
looterz committed Sep 19, 2024
1 parent 66da4e7 commit 6594151
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ jobs:
display_name: QuickItemLevel-${{ steps.get_version.outputs.VERSION }}.zip
changelog_type: text
game_endpoint: wow
game_versions: "11926"
game_versions: "11596,11926"
relations: "quick-item-level:requiredDependency"
token: ${{ secrets.CURSEFORGE_API_TOKEN }}
2 changes: 1 addition & 1 deletion QuickItemLevel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ local function UpdateMouseoverTooltip(self)

for i = self:NumLines(), 1, -1 do
local line = _G[self:GetName() .. "TextLeft" .. i]:GetText()
if (strsub(line, 1, 16) == "Quick Item Level") then
if (line ~= nil and strsub(line, 1, 16) == "Quick Item Level") then
addLine = false
break
end
Expand Down
4 changes: 2 additions & 2 deletions QuickItemLevel.toc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
## Interface: 110005
## Interface: 110002, 110005
## IconTexture: Interface\ICONS\Pet_Type_Mechanical
## Title: Quick Item Level
## Notes: Shows players average item level and chosen class specialization in tooltips.
## Author: looterz
## Version: 1.1.1
## Version: 1.1.2
## SavedVariables: QuickItemLevelDB

# Ace3 Library
Expand Down

0 comments on commit 6594151

Please sign in to comment.