Revert "Load plugins in alphabetical-ish order."
This reverts commit 384228b751
.
This commit is contained in:
parent
384228b751
commit
82d5954f2f
@ -259,10 +259,7 @@ public class PluginManager
|
||||
Preconditions.checkNotNull( folder, "folder" );
|
||||
Preconditions.checkArgument( folder.isDirectory(), "Must load from a directory" );
|
||||
|
||||
File[] files = folder.listFiles();
|
||||
Arrays.sort( files );
|
||||
|
||||
for ( File file : files )
|
||||
for ( File file : folder.listFiles() )
|
||||
{
|
||||
if ( file.isFile() && file.getName().endsWith( ".jar" ) )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user