Skip to content

Commit 13bcd11

Browse files
committed
Make material name parsing more lax
1 parent d0346a5 commit 13bcd11

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Lumina/Models/Materials/Material.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public Material Update( GameData data )
174174
};
175175
}
176176

177-
[GeneratedRegex(@"/mt_(?'id1'[cdmw])(?'val1'\d{4})(?'id2'[abefhtze])(?'val2'\d{4})_(?:\w{3}(?:_\w)|(?:\w))\.mtrl")]
177+
[GeneratedRegex(@"/mt_(?'id1'[cdmw])(?'val1'\d{4})(?'id2'[abefhtze])(?'val2'\d{4})_(?:\w|_)+\.mtrl")]
178178
private static partial Regex MatNameRegex();
179179

180180

@@ -242,4 +242,4 @@ private void ReadStrings()
242242
br.Dispose();
243243
}
244244
}
245-
}
245+
}

0 commit comments

Comments
 (0)