From 5d86e1194463c9083c445c02fddd7f19ac38ac98 Mon Sep 17 00:00:00 2001 From: MaikyM <51415805+MaikyM@users.noreply.github.com> Date: Sun, 14 Jul 2019 10:11:21 -0600 Subject: [PATCH] avoid placeholder when there is no "featured image" improved, thanks @iAmAsval --- FModel/Methods/IconGenerator/ItemIcon.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FModel/Methods/IconGenerator/ItemIcon.cs b/FModel/Methods/IconGenerator/ItemIcon.cs index ef861933..04347261 100644 --- a/FModel/Methods/IconGenerator/ItemIcon.cs +++ b/FModel/Methods/IconGenerator/ItemIcon.cs @@ -234,7 +234,7 @@ namespace FModel } // There is no featured image (as legends pack, shadow pack...) - if (string.IsNullOrEmpty(ItemIconPath) || ItemIconPath.Contains("T_Placeholder_Item_Outfit")) + if (string.IsNullOrEmpty(ItemIconPath) || ItemIconPath.Contains("Athena\\Prototype\\Textures\\")) GetItemIcon(theItem); } }