File tree 2 files changed +0
-8
lines changed
LibForge/ForgeToolGUI/Inspectors
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)
58
58
{
59
59
using ( var con = STFSPackage . OpenFile ( GameArchives . Util . LocalFile ( filename ) ) )
60
60
{
61
- if ( con . Type != STFSType . CON )
62
- {
63
- throw new Exception ( $ "File is not a CON file.") ;
64
- }
65
61
var datas = PkgCreator . GetSongMetadatas ( con . RootDirectory . GetDirectory ( "songs" ) ) ;
66
62
if ( datas . Count > 0 )
67
63
{
Original file line number Diff line number Diff line change @@ -65,10 +65,6 @@ private bool LoadCon(string filename)
65
65
{
66
66
using ( var con = STFSPackage . OpenFile ( GameArchives . Util . LocalFile ( filename ) ) )
67
67
{
68
- if ( con . Type != STFSType . CON )
69
- {
70
- throw new Exception ( $ "File is not a CON file.") ;
71
- }
72
68
var datas = PkgCreator . GetSongMetadatas ( con . RootDirectory . GetDirectory ( "songs" ) ) ;
73
69
if ( datas . Count > 0 )
74
70
{
You can’t perform that action at this time.
0 commit comments