Skip to content

Commit eb4b694

Browse files
committed
Left ring handling for model path functions.
1 parent a8291f3 commit eb4b694

File tree

1 file changed

+7
-1
lines changed
  • xivModdingFramework/Models/FileTypes

1 file changed

+7
-1
lines changed

xivModdingFramework/Models/FileTypes/Mdl.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4131,7 +4131,13 @@ public async Task<string> GetMdlPath(IItemModel itemModel, XivRace xivRace, stri
41314131
break;
41324132
case XivItemType.accessory:
41334133
mdlFolder = $"chara/{itemType}/a{id}/model";
4134-
mdlFile = $"c{race}a{id}_{itemModel.GetItemSlotAbbreviation()}{MdlExtension}";
4134+
var abrv = itemModel.GetItemSlotAbbreviation();
4135+
// Just left ring things.
4136+
if (submeshId == "ril")
4137+
{
4138+
abrv = "ril";
4139+
}
4140+
mdlFile = $"c{race}a{id}_{abrv}{MdlExtension}";
41354141
break;
41364142
case XivItemType.weapon:
41374143
mdlFolder = $"chara/{itemType}/w{id}/obj/body/b{bodyVer}/model";

0 commit comments

Comments
 (0)