diff --git a/Core/Preview.lua b/Core/Preview.lua index cfbc5e3..73b7cb6 100644 --- a/Core/Preview.lua +++ b/Core/Preview.lua @@ -1,8 +1,6 @@ local MogIt,mog = ...; local L = mog.L; -local LBI = LibStub("LibBabble-Inventory-3.0"):GetUnstrictLookupTable(); - local TITANS_GRIP_SPELLID = 46917 @@ -744,7 +742,7 @@ function mog.view.AddItem(item, preview, forceSlot, setItem) end end - if invType == "INVTYPE_2HWEAPON" or invType == "INVTYPE_RANGED" or (invType == "INVTYPE_RANGEDRIGHT" and itemInfo.subType ~= LBI["Wands"]) then + if invType == "INVTYPE_2HWEAPON" or invType == "INVTYPE_RANGED" or (invType == "INVTYPE_RANGEDRIGHT" and itemInfo.subClassID == Enum.ItemWeaponSubclass.Wand) then -- if any two handed weapon is being equipped, first clear up both hands mog.view.DelItem("MainHandSlot", preview); mog.view.DelItem("SecondaryHandSlot", preview); diff --git a/Libs/Embeds.xml b/Libs/Embeds.xml index 4e7380d..318b530 100644 --- a/Libs/Embeds.xml +++ b/Libs/Embeds.xml @@ -13,8 +13,6 @@ xsi:schemaLocation="http://www.blizzard.com/wow/ui/