Vendor

Vendor

247k Downloads

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

dubudevs opened this issue ยท 3 comments

commented

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.

commented

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
commented

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

This fix works, thank you

commented

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