DetectModdedItems is global here for now

This commit is contained in:
Buurazu authored and GitHub committed 2021-12-03 22:00:46 -05:00
1 parent 798053f969
commit 0ccd789234
1 file changed
+2 -2
+2 -2
View File
@@ -593,7 +593,7 @@ EID.showCraftingResult = false
local maxItemID = nil
local function detectModdedItems()
function EID:DetectModdedItems()
if maxItemID == nil then
maxItemID = EID:GetMaxCollectibleID()
end
@@ -743,7 +743,7 @@ function EID:handleBagOfCraftingRendering()
table.sort(itemQuery, qualitySort)
--Simplified Mode display
if (EID.Config["BagOfCraftingSimplifiedMode"] or detectModdedItems()) then
if (EID.Config["BagOfCraftingSimplifiedMode"] or EID:DetectModdedItems()) then
local customDescObj = EID:getDescriptionObj(5, 100, 710)
customDescObj.Description = ""