From b5b7ce4c48b787f32884c9b763e26a4029926aaa Mon Sep 17 00:00:00 2001 From: Buurazu Date: Thu, 8 Dec 2022 04:48:26 -0500 Subject: [PATCH] new Version Check --- main.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/main.lua b/main.lua index 5b88466a..1387bd9c 100644 --- a/main.lua +++ b/main.lua @@ -1072,9 +1072,8 @@ local hasShownStartWarning = false local function checkStartOfRunWarnings() if REPENTANCE and not EID.Config["DisableStartOfRunWarnings"] and game:GetFrameCount() < 10*30 then -- Old Repentance version check; update this to check for the existence of the newest mod API function EID uses - -- 1.7.6 (Nov. 16, 2021): The Options object (to read the game's options like HUD Offset) - -- 1.7.9 (Nov. 04, 2022): The CraftingQuality attribute was added - if Options == nil or Isaac.GetItemConfig():GetCollectible(1).CraftingQuality == nil then + -- 1.7.9b (Dec. 08, 2022): The IsAvailable function was added + if Isaac.GetItemConfig():GetCollectible(1).IsAvailable == nil then local demoDescObj = EID:getDescriptionObj(-999, -1, 1) demoDescObj.Name = EID:getDescriptionEntry("AchievementWarningTitle") or "" demoDescObj.Description = EID:getDescriptionEntry("OldGameVersionWarningText") or ""