Skip to content

Commit 1f0491c

Browse files
committed
Only set hasVfx bool to true when it actually has vfx
1 parent 59d1c9d commit 1f0491c

File tree

1 file changed

+4
-1
lines changed
  • xivModdingFramework/Materials/FileTypes

1 file changed

+4
-1
lines changed

xivModdingFramework/Materials/FileTypes/Mtrl.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,11 @@ public async Task<XivMtrl> GetMtrlData(IItemModel itemModel, XivRace race, char
185185
}
186186

187187
var mtrlData = await GetMtrlData(mtrlOffset, mtrlStringPath, dxVersion);
188-
mtrlData.hasVfx = true;
189188

189+
if (mtrlPath.HasVfx)
190+
{
191+
mtrlData.hasVfx = true;
192+
}
190193

191194
return mtrlData;
192195
}

0 commit comments

Comments
 (0)