Broker Everything

Broker Everything

588k Downloads

[BUG]: Ammo module not working in 3.4.1

kazso opened this issue ยท 1 comments

commented

WoW client

WoW Classic WotLk

What happened?

Logging into a hunter character i get an error, and the ammo tooltip is empty since patch 3.4.1.

I came up with a temporary solution until this is fixed.
Changing
local _, count = GetContainerItemInfo(item.bag,item.slot);
to
local count = (C_Container.GetContainerItemInfo(item.bag,item.slot)).stackCount;
in ammo_classic.lua works for me (no errors and shows the correct amount of ammo). Only tested this in WotLK Classic.

Lua Error Message?

2x ...ceBroker_Everything/modules/ammo_classic.lua:68: attempt to call global 'GetContainerItemInfo' (a nil value)
[string "@Broker_Everything/modules/ammo_classic.lua"]:68: in function `fnc'
[string "@Broker_Everything/shared.lua"]:826: in function <Broker_Everything/shared.lua:821>
[string "@Broker_Everything/shared.lua"]:855: in function <Broker_Everything/shared.lua:830>
[string "@Broker_Everything/shared.lua"]:1005: in function <Broker_Everything/shared.lua:948>
[string "@Broker_Everything/shared.lua"]:1031: in function <Broker_Everything/shared.lua:1019>

Other addons?

No response

commented

Thank you for reporting.
Update is available.