diff --git a/GnomishVendorShrinker.lua b/GnomishVendorShrinker.lua index a56583b..63ab768 100644 --- a/GnomishVendorShrinker.lua +++ b/GnomishVendorShrinker.lua @@ -2,7 +2,9 @@ local myname, ns = ... -local ItemSearch = LibStub('LibItemSearch-1.0') +local ItemSearch = ns.LibItemSearch +ns.LibItemSearch = nil + local NUMROWS, SCROLLSTEP = 14, 5 diff --git a/LibItemSearch-1.0.lua b/LibItemSearch-1.0.lua index 85cce6f..d611df3 100644 --- a/LibItemSearch-1.0.lua +++ b/LibItemSearch-1.0.lua @@ -18,9 +18,13 @@ I kindof half want to make a full parser for this --]] -local MAJOR, MINOR = "LibItemSearch-1.0", 3 -local ItemSearch = LibStub:NewLibrary(MAJOR, MINOR) -if not ItemSearch then return end +-- local MAJOR, MINOR = "LibItemSearch-1.0", 3 +-- local ItemSearch = LibStub:NewLibrary(MAJOR, MINOR) +-- if not ItemSearch then return end + +local myname, ns = ... +ns.LibItemSearch = {} +local ItemSearch = ns.LibItemSearch --[[ general search ]]-- @@ -441,4 +445,4 @@ ItemSearch:RegisterTypedSearch{ return isItemInEquipmentSet(itemLink, setName) or isItemInWardrobeSet(itemLink, setName) end, -} \ No newline at end of file +}