From 49c1697eaf725e8dad0728484b42dcf1c5d9e17b Mon Sep 17 00:00:00 2001 From: MaikyM <51415805+MaikyM@users.noreply.github.com> Date: Sat, 13 Jul 2019 19:51:04 -0600 Subject: [PATCH] Restore the fix when there is no featured, removed in 327aec7a750073bee2c60e904eff37a9edec92bb --- FModel/Methods/IconGenerator/ItemIcon.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/FModel/Methods/IconGenerator/ItemIcon.cs b/FModel/Methods/IconGenerator/ItemIcon.cs index e0a0e7d5..ef861933 100644 --- a/FModel/Methods/IconGenerator/ItemIcon.cs +++ b/FModel/Methods/IconGenerator/ItemIcon.cs @@ -232,6 +232,10 @@ namespace FModel break; } } + + // There is no featured image (as legends pack, shadow pack...) + if (string.IsNullOrEmpty(ItemIconPath) || ItemIconPath.Contains("T_Placeholder_Item_Outfit")) + GetItemIcon(theItem); } } catch (JsonSerializationException)