From de88a66d11c56d8ab01712956c8f14e05cd6484c Mon Sep 17 00:00:00 2001 From: Buurazu Date: Mon, 10 Jun 2024 03:14:00 -0400 Subject: [PATCH] fix checking Tainted characters --- features/eid_api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/eid_api.lua b/features/eid_api.lua index 7d84ca95..7d4e02cb 100644 --- a/features/eid_api.lua +++ b/features/eid_api.lua @@ -1193,7 +1193,7 @@ function EID:PlayersHaveCharacter(playerType, includeTainted) if player:GetPlayerType() == playerType then return true, player end - if includeTainted and EID.isRepentance and Isaac.GetPlayerTypeByName(player:GetName()) == playerType then + if includeTainted and EID.isRepentance and EID.TaintedToRegularID[player:GetPlayerType()] == playerType then return true, player end end