DetectModdedItems is global here for now
This commit is contained in:
1 parent
798053f969
commit
0ccd789234
1 file changed
+2
-2
@@ -593,7 +593,7 @@ EID.showCraftingResult = false
|
|||||||
|
|
||||||
local maxItemID = nil
|
local maxItemID = nil
|
||||||
|
|
||||||
local function detectModdedItems()
|
function EID:DetectModdedItems()
|
||||||
if maxItemID == nil then
|
if maxItemID == nil then
|
||||||
maxItemID = EID:GetMaxCollectibleID()
|
maxItemID = EID:GetMaxCollectibleID()
|
||||||
end
|
end
|
||||||
@@ -743,7 +743,7 @@ function EID:handleBagOfCraftingRendering()
|
|||||||
table.sort(itemQuery, qualitySort)
|
table.sort(itemQuery, qualitySort)
|
||||||
|
|
||||||
--Simplified Mode display
|
--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)
|
local customDescObj = EID:getDescriptionObj(5, 100, 710)
|
||||||
customDescObj.Description = ""
|
customDescObj.Description = ""
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user