diff --git a/ItemRack/ItemRack.lua b/ItemRack/ItemRack.lua index ffcba35..3f96f92 100644 --- a/ItemRack/ItemRack.lua +++ b/ItemRack/ItemRack.lua @@ -6,6 +6,15 @@ local _ local wowver, wowbuild, wowbuilddate, wowtoc = GetBuildInfo() ItemRack.Version = GetAddOnMetadata(addonName, "Version") +-- by Mikinho - Fix for latest update for Classic Era/SoD v11504 +local GetMouseFocus = GetMouseFocus +if not GetMouseFocus and GetMouseFoci then + local GetMouseFoci = GetMouseFoci + GetMouseFocus = function() + return GetMouseFoci()[1] + end +end + function ItemRack.IsClassic() return WOW_PROJECT_ID == WOW_PROJECT_CLASSIC end diff --git a/ItemRack/ItemRack.toc b/ItemRack/ItemRack.toc index 12b3858..2f4936e 100644 --- a/ItemRack/ItemRack.toc +++ b/ItemRack/ItemRack.toc @@ -1,5 +1,5 @@ ## Interface: 30403, 40400 -## Interface-Vanilla: 11500 +## Interface-Vanilla: 11504 ## Interface-TBC: 20504 ## Interface-Wrath: 30403 ## Interface-Cata: 40400