Skip to content

Commit c2b9afd

Browse files
committed
Update 2.0.12.1
2 parents 46359cd + 9f41558 commit c2b9afd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

xivModdingFramework/Materials/DataContainers/XivMtrl.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ public string GetTextureRootDirectoy()
688688
/// Gets the item version this MTRL is attached to, based on directory.
689689
/// </summary>
690690
/// <returns></returns>
691-
public uint GetVersion()
691+
public uint GetVariant()
692692
{
693693
var match = Regex.Match(MTRLPath, "/v([0-9]{4})/");
694694
if (match.Success)
@@ -704,7 +704,7 @@ public uint GetVersion()
704704
/// <returns></returns>
705705
public string GetVariantString()
706706
{
707-
var version = GetVersion();
707+
var version = GetVariant();
708708

709709
var versionString = "";
710710
if (version > 0)

xivModdingFramework/Materials/FileTypes/Mtrl.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,7 @@ private async Task<List<TexTypePath>> GetTexNames(IEnumerable<string> texPathLis
892892
/// <param name="itemType">The type of the item</param>
893893
/// <param name="type">The item type whether Primary or Secondary</param>
894894
/// <returns>A tuple containing the mtrl folder and file, and whether it has a vfx</returns>
895-
private async Task<(string Folder, string File, bool HasVfx)> GetMtrlPath(IItemModel itemModel, XivRace xivRace, char part, XivItemType itemType, string type)
895+
public async Task<(string Folder, string File, bool HasVfx)> GetMtrlPath(IItemModel itemModel, XivRace xivRace, char part, XivItemType itemType, string type)
896896
{
897897
// The default version number
898898
var version = "0001";

0 commit comments

Comments
 (0)