Fix no modded character info bug

This commit is contained in:
Buurazu authored and GitHub committed 2024-07-16 06:43:57 -04:00
1 parent 21e9f539d8
commit e8214d94cd
1 file changed
+2 -2
+2 -2
View File
@@ -454,8 +454,8 @@ end
function EID:ItemReminderHandleCharacterInfo(player)
local playerType = player:GetPlayerType()
local playerDesc = EID:getDescriptionEntry("CharacterInfo")[playerType]
if playerDesc[2] ~= "" then
EID:ItemReminderAddTempDescriptionEntry("{{Player" .. playerType .. "}}", playerDesc[1], playerDesc[2])
if playerDesc and playerDesc[2] ~= "" then
EID:ItemReminderAddTempDescriptionEntry(EID:GetPlayerIcon(playerType), playerDesc[1], playerDesc[2])
end
end