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

Addon not working at all on the new game shop vendor mount Grizzly Hills Packmaster #85

Open
dubudevs opened this issue Sep 17, 2024 · 3 comments

Comments

@dubudevs
Copy link

The addon will not sell anything to this vendor.

My discord is @du.bu if you want me to test anything to save you buying the mount.

@muiqo
Copy link

muiqo commented Sep 28, 2024

Possible workarround for now, replace this function in merchant.lua:

-- If this merchant has no items it is not a sellable merchant (such as an autohammer).
function Merchant:CanSellAtMerchant()
    -- Check if interacting with Grizzly Hills Packmasters Field Repair Anvil
    if UnitGUID("npc") then
        local _, _, _, _, _, npcId = strsplit("-", UnitGUID("npc"))
        if npcId == "227774" then
            return true
        end
    end

    return GetMerchantNumItems() > 0
end

@dubudevs
Copy link
Author

Possible workarround for now, replace this function in merchant.lua:

This fix works, thank you

@fracture93
Copy link

hello, I have created a pull request for this issue, I believe I have done it correctly but it is my first time and I saw no one else doing it, please let me know if I have to fix anything on it/etc

#86

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

3 participants