Skip to content

Commit

Permalink
2.0.43-Release
Browse files Browse the repository at this point in the history
  • Loading branch information
Goldpaw committed Oct 11, 2023
1 parent b45db9d commit 9d07bfb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. Be aware th
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [2.0.43-Release] 2023-10-11
### Fixed
- Fixed the issue where the addon sometimes would attempt to hook into the hiding of the `ClassTrainerFrame` before it had been loaded.

## [2.0.42-Release] 2023-10-11
- Updated for WoW Client Patch 3.4.3.

Expand Down
2 changes: 1 addition & 1 deletion ChatCleaner/Components/Money.lua
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ Module.OnEvent = function(self, event, ...)
local currentMoney = GetMoney()

if (MerchantFrame:IsShown()) or (MailFrame:IsShown()) or (ClassTrainerFrame and ClassTrainerFrame:IsShown()) then
if (not self:IsHooked(ClassTrainerFrame, "OnHide")) then
if (ClassTrainerFrame and not self:IsHooked(ClassTrainerFrame, "OnHide")) then
self:HookScript(ClassTrainerFrame, "OnHide", "OnSpecialFrameHide")
end

Expand Down

0 comments on commit 9d07bfb

Please sign in to comment.