mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Removed extension check switch.
This commit is contained in:
parent
5f9281384d
commit
b307a787db
1 changed files with 1 additions and 10 deletions
|
|
@ -50,16 +50,7 @@ namespace Penumbra.Importer
|
||||||
{
|
{
|
||||||
CurrentModPack = modPackFile.Name;
|
CurrentModPack = modPackFile.Name;
|
||||||
|
|
||||||
switch( modPackFile.Extension )
|
|
||||||
{
|
|
||||||
case ".ttmp":
|
|
||||||
case ".ttmp2":
|
|
||||||
VerifyVersionAndImport(modPackFile);
|
VerifyVersionAndImport(modPackFile);
|
||||||
break;
|
|
||||||
|
|
||||||
default:
|
|
||||||
throw new ArgumentException( $"Unrecognized modpack format: {modPackFile.Extension}", nameof(modPackFile) );
|
|
||||||
}
|
|
||||||
|
|
||||||
State = ImporterState.Done;
|
State = ImporterState.Done;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue