mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-06 05:38:48 +08:00
use HasExtension method instead of string.EndsWith.
This commit is contained in:
@@ -46,7 +46,7 @@ namespace GameRes.Formats.Irrlicht
|
||||
|
||||
public override ArcFile TryOpen (ArcView file)
|
||||
{
|
||||
if (!file.Name.EndsWith (".pack", StringComparison.InvariantCultureIgnoreCase))
|
||||
if (!file.Name.HasExtension (".pack"))
|
||||
return null;
|
||||
long offset = 0;
|
||||
var dir = new List<Entry>();
|
||||
|
||||
Reference in New Issue
Block a user