9.0 change to Pawn requires AdiBags change to API call
Luxyr opened this issue ยท 5 comments
https://www.curseforge.com/wow/addons/pawn:
"Hello bag addon authors!
Unfortunately in 9.0, replacing IsContainerItemAnUpgrade can cause taint errors, leading to (for example) being unable to swap weapons using the character sheet during combat lockdown. That's how Pawn used to let your addon know whether it should show upgrade arrows. But as of Pawn 2.4.2, Pawn supplies PawnIsContainerItemAnUpgrade instead of replacing the built-in version. To get Pawn suggestions working again with your bag addon, just use PawnIsContainerItemAnUpgrade whenever it's non-nil, and IsContainerItemAnUpgrade otherwise."
Currently with the latest version of AdiBags, upgrade icons do not show up, whether or not the item level plugin is enabled or not(which was the core of previous reports of pawn incompatibility).
Looks like there is already a pull request to handle it.
Why hasn't this been updated yet? Someone already provided the complete change that worked and the last updated did not include this. Pawn is a highly used addon and I know myself and others would really appreciate the update be added to Adibags.
Agreed, I got #503 to work, with addition of
text:SetPoint("BOTTOMRIGHT", button, 0, 1)
line 106 of ItemLevel.lua to move the ilvl to the bottom right.
Would be nice to have this added into the plugin (or even an option to let you choose the corner).
See #503.