Skip to content

Commit

Permalink
Bump Classic-Era TOC and fix library import error
Browse files Browse the repository at this point in the history
  • Loading branch information
brittyazel committed Feb 9, 2024
1 parent ee4d6cd commit d10b67b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions EnhancedRaidFrames.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ local AceDBOptions = LibStub("AceDBOptions-3.0")
local AceConfigRegistry = LibStub("AceConfigRegistry-3.0")
local AceConfigDialog = LibStub("AceConfigDialog-3.0")
local AceDB = LibStub("AceDB-3.0")
local LibDualSpec = LibStub("LibDualSpec-1.0")

-------------------------------------------------------------------------
-------------------------------------------------------------------------
Expand Down Expand Up @@ -101,14 +100,14 @@ function EnhancedRaidFrames:InitializeDatabase()

-- Create database object
self.db = AceDB:New("EnhancedRaidFramesDB", defaults) --EnhancedRaidFramesDB is our saved variable table

-- Enhance database and profile options using LibDualSpec
if not self.isWoWClassicEra then
-- Not available in Classic Era
-- Enhance the database object with per spec profile features
LibDualSpec:EnhanceDatabase(self.db, "EnhancedRaidFrames")
LibStub("LibDualSpec-1.0"):EnhanceDatabase(self.db, "EnhancedRaidFrames")
-- Enhance the profile options table with per spec profile features
LibDualSpec:EnhanceOptions(AceDBOptions:GetOptionsTable(self.db), self.db)
LibStub("LibDualSpec-1.0"):EnhanceOptions(AceDBOptions:GetOptionsTable(self.db), self.db)
end
end

Expand Down
2 changes: 1 addition & 1 deletion EnhancedRaidFrames.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 100205
## Interface-Classic: 11500
## Interface-Classic: 11501
## Interface-Wrath: 30403
## Title: Enhanced Raid Frames
## Notes: Enhances the Blizzard raid frames with configurable Buff/Debuff indicators
Expand Down

0 comments on commit d10b67b

Please sign in to comment.