mirror of
https://codeberg.org/Duvelcorp/MetaHunt.git
synced 2026-09-30 03:26:06 +00:00
Silence trainer scan noise during Growl auto-teach
- Add MTH_Growl_IsTeaching(); the beast-training scanner skips its chat feedback while auto-teach is driving the trainer window (no more 'scan did not run yet' spam on tame) - Confirm the taught rank in chat: 'Auto-taught Growl (Rank N) to <pet>.'
This commit is contained in:
@@ -714,6 +714,10 @@ local function MTH_PT_RunDoubleScan(triggerBase)
|
||||
or triggerText == "beast-training-rows-open"
|
||||
or triggerText == "petbook-visible-poll"
|
||||
)
|
||||
-- Stay quiet while Growl auto-teach is driving the trainer window.
|
||||
if feedbackOnOpen and type(MTH_Growl_IsTeaching) == "function" and MTH_Growl_IsTeaching() then
|
||||
feedbackOnOpen = false
|
||||
end
|
||||
if not MTH_PT_ShouldScanNow() then
|
||||
if MTH_PT_DebugLog then
|
||||
MTH_PT_DebugLog("scan skipped: no beast-training rows, trigger=" .. tostring(triggerBase or ""))
|
||||
|
||||
Reference in New Issue
Block a user