-fixed no bloodforged crafting cat not defaulting to pattern
-fixed some miss categorized crafted items
This commit is contained in:
Anch
2022-11-20 16:32:10 +13:00
parent e534fe74bf
commit 3ca754d9f2
2 changed files with 114 additions and 116 deletions
+2 -2
View File
@@ -465,9 +465,9 @@ function AtlasLoot:ShowItemsFrame(dataID, dataSource_backup, tablenum)
local difType = false;
-- Checks to see if type is the same
if ATLASLOOT_CURRENTTYPE ~= dataSource[dataID].Type then
if dataSource[dataID].Type == "Crafting" then
if dataSource[dataID].Type == "Crafting" or dataSource[dataID].Type == "CraftingNoBF" then
ItemindexID = "Pattern";
elseif ItemindexID == "Pattern" and dataSource[dataID].Type ~= "Crafting" then
elseif (ItemindexID == "Pattern" and dataSource[dataID].Type ~= "Crafting") or (ItemindexID == "Pattern" and dataSource[dataID].Type ~= "CraftingNoBF") then
ItemindexID = 2;
else
ItemindexID = ATLASLOOT_TYPE[dataSource[dataID].Type] or 2;