Skip to content

Commit

Permalink
2.2.2 - GetContainerNumFreeSlots
Browse files Browse the repository at this point in the history
  • Loading branch information
Ridepad committed Jan 22, 2023
1 parent 164cc5b commit a735b9a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

<details><summary><b>Changelog</b></summary>

[2.2.2](https://github.com/Ridepad/TrinketCDs/releases/tag/2.2.2)

[2.2.1](https://github.com/Ridepad/TrinketCDs/releases/tag/2.2.1)

[2.2.0](https://github.com/Ridepad/TrinketCDs/releases/tag/2.2.0)
Expand Down
3 changes: 3 additions & 0 deletions TrinketCDs/TrinketCDs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ local IsModifierKeyDown = IsModifierKeyDown
local UnitAffectingCombat = UnitAffectingCombat
local GetInventoryItemCooldown = GetInventoryItemCooldown

-- fk blzrd
local GetContainerNumFreeSlots = GetContainerNumFreeSlots or C_Container and C_Container.GetContainerNumFreeSlots

local function new_trinket(item_ID)
if not item_ID then return end
local _, _, item_quality, item_level, _, _, _, _, _, item_texture = GetItemInfo(item_ID)
Expand Down
4 changes: 2 additions & 2 deletions TrinketCDs/TrinketCDs.toc
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
## Interface: 30300
## Title:|cffee0080TrinketCDs|r
## Author: Ridepad (|cff888888Ridepad#7722|r)
## Version: 2.2.1
## Version: 2.2.2
## SavedVariables: TrinketCDsProfile
## Notes: Trinkets and item enchants proc tracker.
## Notes-ruRU: Отслеживает баффы предметов и энчантов.
## OptionalDeps: OmniCC

## X-Category: Combat
## X-Date: 2022-09-20--12-00
## X-Date: 2023-01-22--21-00
## X-Website: https://github.com/Ridepad/TrinketCDs

TrinketCDsDB.lua
Expand Down
4 changes: 2 additions & 2 deletions TrinketCDs/TrinketCDs_Wrath.toc
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
## Interface: 30400
## Title:|cffee0080TrinketCDs|r
## Author: Ridepad (|cff888888Ridepad#7722|r)
## Version: 2.2.1
## Version: 2.2.2
## SavedVariables: TrinketCDsProfile
## Notes: Trinkets and item enchants proc tracker.
## Notes-ruRU: Отслеживает баффы предметов и энчантов.
## OptionalDeps: OmniCC

## X-Category: Combat
## X-Date: 2022-09-20--12-00
## X-Date: 2023-01-22--21-00
## X-Website: https://github.com/Ridepad/TrinketCDs

TrinketCDsDB.lua
Expand Down

0 comments on commit a735b9a

Please sign in to comment.