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" ) ) {