Revert "Load plugins in alphabetical-ish order."

This reverts commit 384228b751.
This commit is contained in:
md_5 2013-04-28 17:44:23 +10:00
parent 384228b751
commit 82d5954f2f

View File

@ -259,10 +259,7 @@ public class PluginManager
Preconditions.checkNotNull( folder, "folder" ); Preconditions.checkNotNull( folder, "folder" );
Preconditions.checkArgument( folder.isDirectory(), "Must load from a directory" ); Preconditions.checkArgument( folder.isDirectory(), "Must load from a directory" );
File[] files = folder.listFiles(); for ( File file : folder.listFiles() )
Arrays.sort( files );
for ( File file : files )
{ {
if ( file.isFile() && file.getName().endsWith( ".jar" ) ) if ( file.isFile() && file.getName().endsWith( ".jar" ) )
{ {