fixed featured image for some items (backpacks afaik)

This commit is contained in:
iAmAsval 2019-07-05 09:51:36 +02:00
parent 5f3cbf6450
commit 137e5a9fde

View File

@ -214,7 +214,7 @@ namespace FModel
? catalogFilePath = JohnWick.ExtractAsset(ThePak.CurrentUsedPak, catName)
: catalogFilePath = JohnWick.ExtractAsset(ThePak.AllpaksDictionary[catName], catName);
if (catalogFilePath != null)
if (!string.IsNullOrEmpty(catalogFilePath))
{
Checking.WasFeatured = true;
if (catalogFilePath.Contains(".uasset") || catalogFilePath.Contains(".uexp") || catalogFilePath.Contains(".ubulk"))