From cbdc75c56519291b6d6f80f068371af02a836ac4 Mon Sep 17 00:00:00 2001 From: Wofsauge Date: Wed, 5 Jan 2022 17:25:32 +0100 Subject: [PATCH] Fixed pills having no description for AB+ users --- eid_api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eid_api.lua b/eid_api.lua index 5a03310d..462a87fb 100644 --- a/eid_api.lua +++ b/eid_api.lua @@ -371,7 +371,7 @@ function EID:getAdjustedSubtype(Type, Variant, SubType) return SubType - 32768 end elseif tableName == "pills" or tableName == "horsepills" then - if SubType % PillColor.PILL_GIANT_FLAG == PillColor.PILL_GOLD then + if REPENTANCE and SubType % PillColor.PILL_GIANT_FLAG == PillColor.PILL_GOLD then return 9999 end local pool = game:GetItemPool()