Unnecessary Class Check

This check isn't needed anymore, importing through importKnownFile does this already
This commit is contained in:
Konloch 2021-07-15 10:45:35 -07:00
parent 29c237bed4
commit 46f703db34
1 changed files with 0 additions and 5 deletions

View File

@ -58,11 +58,6 @@ public class ImportResource implements Runnable
Import.DIRECTORY.getImporter().open(file);
continue;
}
//check for classes
if (fn.endsWith(".class"))
Import.CLASS.getImporter().open(file);
//everything else import as a resource
else if(!importKnownFile(file))
Import.FILE.getImporter().open(file);