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/
-
-
diff --git a/README.md b/README.md
index 269e2f1..5ed2f05 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
**This project is no longer actively maintained. Pull requests are still welcome.**
-
+
### Description
MogIt is an in-game catalogue of transmogrification items with the aim of helping players build their own sets!
@@ -13,4 +13,3 @@ MogIt is an in-game catalogue of transmogrification items with the aim of helpin
- Some items, when added to wishlist or preview, will appear as the base version of the item. There is nothing we can do about that. If you try to link these items from the default wardrobe you will also get the link of the base item, and that's something you could report to Blizzard. (and if they fix that, it should work in MogIt, too)
- Items outside of the catalogue may take into account items that aren't usable by your character (eg wrong class or faction) when indicating collected items.
-- Artifacts are still not supported and probably won't be any time soon. (mostly due to API limitations)
diff --git a/docmeta.yaml b/docmeta.yaml
deleted file mode 100644
index a70dfd3..0000000
--- a/docmeta.yaml
+++ /dev/null
@@ -1,3 +0,0 @@
-type: markdown
-input-file: README.md
-output-page: "Main"
diff --git a/pkgmeta.yaml b/pkgmeta.yaml
index 7320a3d..8d88c08 100644
--- a/pkgmeta.yaml
+++ b/pkgmeta.yaml
@@ -7,9 +7,16 @@ externals:
Libs/AceDBOptions-3.0: https://repos.wowace.com/wow/ace3/trunk/AceDBOptions-3.0
Libs/LibDataBroker-1.1: https://repos.wowace.com/wow/libdatabroker-1-1
Libs/LibDBIcon-1.0: https://repos.wowace.com/wow/libdbicon-1-0/trunk/LibDBIcon-1.0
- Libs/LibBabble-Inventory-3.0: https://repos.wowace.com/wow/libbabble-inventory-3-0/trunk
- Libs/Libra: https://github.com/Lombra/Libra.git
- Libs/LibItemInfo-1.0: https://github.com/Lombra/LibItemInfo-1.0.git/LibItemInfo-1.0
+ Libs/Libra:
+ url: https://github.com/Lombra/Libra.git
+ curse-slug: libra
+ Libs/LibItemInfo-1.0:
+ url: https://github.com/Lombra/LibItemInfo-1.0.git/LibItemInfo-1.0
+ curse-slug: libiteminfo-1-0
+
+plain-copy:
+ - Core/*.lua
+ - Modules/*.lua
ignore:
- pkgmeta.yaml