File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed
LibForge/ForgeToolGUI/Inspectors Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -58,10 +58,6 @@ private bool LoadCon(string filename)
5858 {
5959 using ( var con = STFSPackage . OpenFile ( GameArchives . Util . LocalFile ( filename ) ) )
6060 {
61- if ( con . Type != STFSType . CON )
62- {
63- throw new Exception ( $ "File is not a CON file.") ;
64- }
6561 var datas = PkgCreator . GetSongMetadatas ( con . RootDirectory . GetDirectory ( "songs" ) ) ;
6662 if ( datas . Count > 0 )
6763 {
Original file line number Diff line number Diff line change @@ -65,10 +65,6 @@ private bool LoadCon(string filename)
6565 {
6666 using ( var con = STFSPackage . OpenFile ( GameArchives . Util . LocalFile ( filename ) ) )
6767 {
68- if ( con . Type != STFSType . CON )
69- {
70- throw new Exception ( $ "File is not a CON file.") ;
71- }
7268 var datas = PkgCreator . GetSongMetadatas ( con . RootDirectory . GetDirectory ( "songs" ) ) ;
7369 if ( datas . Count > 0 )
7470 {
You can’t perform that action at this time.
0 commit comments