Skip to content

Commit

Permalink
temporary bug fix for broken GetAddOnMetadata
Browse files Browse the repository at this point in the history
  • Loading branch information
solagegrey committed Aug 27, 2024
1 parent 6b3f2ab commit 0f38083
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
9 changes: 9 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
### v2.1.05 27 Aug 2024

* temporary bug fix - GetAddOnMetadata is broken elsewhere

### v2.1.04 23 Aug 2024

* bump toc 11.0.2


### v2.1.03 09 May 2024

* bump toc 10.2.7
Expand Down
8 changes: 4 additions & 4 deletions ElvUI_ItemCount.toc
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
## Interface: 100207
## Interface: 110002

## Title: |cff1784d1ElvUI|r Item Count 2.1.03
## Title: |cff1784d1ElvUI|r Item Count 2.1.05
## Author: Solage of Greymane
## Version: 2.1.03
## Version: 2.1.05
## Notes: Shows Quantity on Hand for a specified item; chimes when counted item is collected; signals when goal quantity is reached
## RequiredDeps: ElvUI
## OptionalDeps: Ace3
## LoadWith: ElvUI
## X-Interface: 100207
## X-Interface: 110002
## X-Category: Plugins
## X-Website: http://wow.curseforge.com/addons/elvui-itemcount/
## X-Localizations: enUS, enGB, deDE, frFR, esES, esMX, zhCN, zhTW, koKR, ruRU
Expand Down
9 changes: 6 additions & 3 deletions ItemCount.lua
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
local Version = "2.1.03"
local Version = "2.1.05"
local AllowDebug = false

--[[
ElvUI ItemCount
Solage of Greymane
v2.1.03
v2.1.05
To Do:
1x ElvUI_ItemCount/ItemCount.lua:103: attempt to call global 'GetAddOnMetadata' (a nil value)
[string "@ElvUI_ItemCount/ItemCount.lua"]:103: in main chunk
]]--
Expand Down Expand Up @@ -100,7 +102,8 @@ local GetCVarBool = GetCVarBool

local IsAddonLoaded = IsAddonLoaded

IC.version = GetAddOnMetadata("ElvUI_ItemCount", "Version")
IC.version = Version
--IC.version = GetAddOnMetadata("ElvUI_ItemCount", "Version")


--------------- OBJECTS ------------------
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Chimes when you collect specified item(s); plays a special sound when you have r

ItemCount is an ElvUI datatext plugin that displays the current quantity of up to five specified items in your bags (does not include quantities held in the bank). A primary item will be displayed on the datatext, and all counted items will be displayed in its mouse hover dropdown. A chime will sound when a counted item is placed in your bags, and a specified sound will be played when the quantity of a counted item reaches its specified goal. These sounds can be customized or muted for each item individually.

This addon is useful for quest items or non-quest items you may be gathering for any reason. The obvious example is for gathering professions - herbalism, skinning, mining - when you want to gather a certain number of an item. Other examples: Zskera Vault Keys, Obsidian key fragments (Dragonflight); Obsidian Warbeats, Fertile Spores (Burning Crusade); Dread Amber Shards (Mists of Pandaria); Sumptuous Fur, Timber, etc., (Warlords of Draenor); Love Token, Lovely Charm (Love is in the Air event); Coin of Ancestry (Lunar Festival event).
This addon is useful for quest items or non-quest items you may be gathering for any reason. The obvious example is for gathering professions - herbalism, skinning, mining - when you want to gather a certain number of an item. Other examples: Zskera Vault Keys, Obsidian key fragments (Dragonflight); Obsidian Warbeads, Fertile Spores (Burning Crusade); Dread Amber Shards (Mists of Pandaria); Sumptuous Fur, Timber, etc., (Warlords of Draenor); Love Token, Lovely Charm (Love is in the Air event); Coin of Ancestry (Lunar Festival event).

You will no longer need to keep checking your bags, or to occupy valuable toolbar slots to track these items.

Expand Down

0 comments on commit 0f38083

Please sign in to comment.