From b4d9b483ce95c9bbb3ea1f1260552ae749baa7fb Mon Sep 17 00:00:00 2001 From: Wofsauge Date: Thu, 3 Feb 2022 21:54:03 +0100 Subject: [PATCH] Revert "Prevent achievement helper trinket from spawning" This reverts commit e85bb42510b1f8be0083d4c51501a0e5f683b459. --- main.lua | 8 -------- 1 file changed, 8 deletions(-) diff --git a/main.lua b/main.lua index bf3b128e..827f9ccf 100644 --- a/main.lua +++ b/main.lua @@ -921,14 +921,6 @@ if Encyclopedia then }) end --- if the helper trinket somehow does spawn, replace it with a random trinket from the pool -function EID:PreventHelperTrinketSpawn(entity) - if entity.SubType == achievementTrinket then - entity:Morph(entity.Type, entity.Variant, game:GetItemPool():GetTrinket()) - end -end -EID:AddCallback(ModCallbacks.MC_POST_PICKUP_INIT, EID.PreventHelperTrinketSpawn, PickupVariant.PICKUP_TRINKET) - local hasShownAchievementWarning = false local function renderAchievementInfo() if REPENTANCE and not EID.Config.DisableAchievementCheck and game:GetFrameCount() < 10*30 then