mirror of
https://github.com/4sval/FModel.git
synced 2026-08-22 01:14:27 -05:00
fix for wraps caused by me in 2b84278
This commit is contained in:
@@ -439,7 +439,7 @@ namespace FModel
|
|||||||
JToken assetPathName = largePreviewImage["asset_path_name"];
|
JToken assetPathName = largePreviewImage["asset_path_name"];
|
||||||
if (assetPathName != null)
|
if (assetPathName != null)
|
||||||
{
|
{
|
||||||
string textureFile = Path.GetFileName(assetPathName.Value<string>()).Substring(0, Path.GetFileName(assetPathName.Value<string>()).LastIndexOf('.') + 1);
|
string textureFile = Path.GetFileName(assetPathName.Value<string>()).Substring(0, Path.GetFileName(assetPathName.Value<string>()).LastIndexOf('.'));
|
||||||
|
|
||||||
ItemIcon.ItemIconPath = JohnWick.AssetToTexture2D(textureFile);
|
ItemIcon.ItemIconPath = JohnWick.AssetToTexture2D(textureFile);
|
||||||
if (File.Exists(ItemIcon.ItemIconPath))
|
if (File.Exists(ItemIcon.ItemIconPath))
|
||||||
|
|||||||
Reference in New Issue
Block a user