From 82d5954f2f1692d6e05306aa78b480a27680ca16 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 28 Apr 2013 17:44:23 +1000 Subject: [PATCH] Revert "Load plugins in alphabetical-ish order." This reverts commit 384228b7511f5f91d6691a62a90c4f7a78090937. --- .../main/java/net/md_5/bungee/api/plugin/PluginManager.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/api/src/main/java/net/md_5/bungee/api/plugin/PluginManager.java b/api/src/main/java/net/md_5/bungee/api/plugin/PluginManager.java index ce30f2d8..c2e3289f 100644 --- a/api/src/main/java/net/md_5/bungee/api/plugin/PluginManager.java +++ b/api/src/main/java/net/md_5/bungee/api/plugin/PluginManager.java @@ -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" ) ) {