mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +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;
|
||||
|
||||
switch( modPackFile.Extension )
|
||||
{
|
||||
case ".ttmp":
|
||||
case ".ttmp2":
|
||||
VerifyVersionAndImport(modPackFile);
|
||||
break;
|
||||
|
||||
default:
|
||||
throw new ArgumentException( $"Unrecognized modpack format: {modPackFile.Extension}", nameof(modPackFile) );
|
||||
}
|
||||
VerifyVersionAndImport(modPackFile);
|
||||
|
||||
State = ImporterState.Done;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue