View Single Post
10-15-05, 05:21 PM   #64
DSanai
A Wyrmkin Dreamwalker
 
DSanai's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2005
Posts: 50
Kael, KC_ET is causing an error in the Beast Training window (I also run BeastMaster to sort my pet skills; not sure if that's relevant -- but it might be, because the error is thrown after the first grouping displays).

It's causing the first set of skills to display, then a bunch of blank space (which, if you scroll down, will suddenly jump to the next set). It's weird, that's all I got to say.

It has to do with the Unhook command, for some reason. I wish I could tell you more, but BugSack is being a PITA.

I think it's here:

function KC_EnhancedTradesClass:CraftShow()
self.dataCache:reset();
if (GetCraftName() == KC_ENHANCEDTRADES_TEXT_BEASTTRAIN) then
self:Unhook("CraftFrame_SetSelection");
self:Unhook("CraftFrame_Update");
KC_EnhancedTrades_CFButton:Hide()
CraftFrame_Update();
end
end

I ran myDebug to check the value of GetCraftName, and that's alright. Specifically, the error seems to refer to this: self:Unhook("CraftFrame_Update");

Disabling KC_ET allows things to return to normal.
__________________
Dsanai - nElf Hunter
Glacialfox - nElf Death Knight
Evilianti - Gnome Warlock
  Reply With Quote