Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alt-click no longer buys a stack since patch 7.2 #48

Open
croana opened this issue Apr 26, 2017 · 1 comment
Open

Alt-click no longer buys a stack since patch 7.2 #48

croana opened this issue Apr 26, 2017 · 1 comment

Comments

@croana
Copy link

croana commented Apr 26, 2017

Don't know if you're still updating the addon, but since they changed how stacks work in 7.2, alt-click no longer buys a full stack of 200.

I get this error:
4x [ADDON_ACTION_FORBIDDEN] AddOn 'GnomishVendorShrinker' tried to call the protected function 'RunBinding()'.
!BugGrabber\BugGrabber.lua:573: in function <!BugGrabber\BugGrabber.lua:573>
[C]: in function RunBinding' FrameXML\StackSplitFrame.lua:181: in function <FrameXML\StackSplitFrame.lua:178> [C]: in function Hide'
FrameXML\StackSplitFrame.lua:167: in function `StackSplitFrameOkay_Click'
FrameXML\StackSplitFrame.lua:112: in function <FrameXML\StackSplitFrame.lua:90>

Locals:
nil

@MuffinManKen
Copy link

A quick hack to make alt-clicks still work for Garrison Resources is:
local function OnClick(self, button)
local id = self:GetID()
local hasaltcurrency = ((GetMerchantItemCostInfo(id) > 0) and (select(4,GetMerchantItemCostItem(id, 1)) ~= "Garrison Resources"))

@MuffinManKen MuffinManKen mentioned this issue Jul 22, 2018
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

No branches or pull requests

2 participants