Fix MCM bag preview blinking

This commit is contained in:
Buurazu authored and GitHub committed 2022-03-25 17:17:33 -04:00
1 parent 0fb08399f6
commit d342ed44f7
1 file changed
+1 -1
+1 -1
View File
@@ -1217,7 +1217,7 @@ local function onRender(t)
EID:handleBagOfCraftingUpdating()
-- If we're in the Crafting options tab, the only rendering we want to happen is the Bag of Crafting preview
if ModConfigMenu and ModConfigMenu.IsVisible and EID.MCMCompat_isDisplayingEIDTab == "Crafting" then
local craftingSuccess = EID:handleBagOfCraftingRendering()
local craftingSuccess = EID:handleBagOfCraftingRendering(true)
if craftingSuccess then
EID:printDescription(EID.descriptionsToPrint[#EID.descriptionsToPrint])
end