Skip to content

Commit

Permalink
Only register addon compartment in retail, fixes #169
Browse files Browse the repository at this point in the history
  • Loading branch information
Snakybo committed May 7, 2023
1 parent b5a3629 commit d6f7eae
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ The format of this changelog is based on [Keep a Changelog](https://keepachangel
* The MINOR component is used whenever a version has backwards-compatible profile changes. This also indicates that the user can not switch back to a previous MINOR version without using a backup.
* The PATCH component is used for versions that do not contain profile format changes. Users can freely switch between PATCH versions without risk of data loss.

## [1.11.2] - 2023-05-07

### Fixed

* Fix Lua error on WOTLK [#169]

## [1.11.1] - 2023-05-03

Expand Down Expand Up @@ -1101,6 +1106,7 @@ The format of this changelog is based on [Keep a Changelog](https://keepachangel
* Initial public release

[Unreleased]: https://github.com/Snakybo/Clicked/compare/1.11.1...master
[1.11.2]: https://github.com/Snakybo/Clicked/releases/tag/1.11.2
[1.11.1]: https://github.com/Snakybo/Clicked/releases/tag/1.11.1
[1.11.0]: https://github.com/Snakybo/Clicked/releases/tag/1.11.0
[1.10.6]: https://github.com/Snakybo/Clicked/releases/tag/1.10.6
Expand Down Expand Up @@ -1195,6 +1201,7 @@ The format of this changelog is based on [Keep a Changelog](https://keepachangel
[0.4.0]: https://github.com/Snakybo/Clicked/releases/tag/0.4.0
[0.3.0]: https://github.com/Snakybo/Clicked/releases/tag/0.3.0

[#169]: https://github.com/Snakybo/Clicked/issues/169
[#166]: https://github.com/Snakybo/Clicked/issues/166
[#163]: https://github.com/Snakybo/Clicked/issues/163
[#155]: https://github.com/Snakybo/Clicked/issues/155
Expand Down
5 changes: 4 additions & 1 deletion Clicked/Core/Clicked.lua
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,10 @@ function Clicked:OnInitialize()
Addon:UpgradeDatabaseProfile(Addon.db.profile)

RegisterMinimapIcon()
RegisterAddonCompartment()

if Addon:IsGameVersionAtleast("RETAIL") then
RegisterAddonCompartment()
end

Addon:RegisterClickCastHeader()
Addon:RegisterBlizzardUnitFrames()
Expand Down

0 comments on commit d6f7eae

Please sign in to comment.