From b67c7fced1bdd07e5d3a20e95308014620621354 Mon Sep 17 00:00:00 2001 From: Wofsauge Date: Sat, 15 May 2021 15:34:35 +0200 Subject: [PATCH] Fixes Pill descriptions not being correct when having PHD --- eid_api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eid_api.lua b/eid_api.lua index 955f2e05..12cc4b1b 100644 --- a/eid_api.lua +++ b/eid_api.lua @@ -296,7 +296,7 @@ function EID:getDescriptionObj(Type, Variant, SubType) local tableName = EID:getTableName(Type, Variant, SubType) if tableName == "pills" or tableName == "horsepills" then local pool = Game():GetItemPool() - description.ID = pool:GetPillEffect(SubType) + 1 + description.ID = pool:GetPillEffect(SubType, Isaac.GetPlayer(0)) + 1 end description.fullItemString = Type.."."..Variant.."."..description.ID description.Name = EID:getObjectName(Type, Variant, description.ID)