File tree Expand file tree Collapse file tree
bukkit-extension/src/main/java/dev/themeinerlp/plugindebug Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ public BukkitDebugBuilder collectLatestSpigotLog() throws IOException {
4747 public BukkitDebugBuilder defaultPaperDebugInformation () throws IOException {
4848 var tempLogFile = Files .createTempFile (tempFile , ".yaml" );
4949 var plugins = Arrays .asList (Bukkit .getServer ().getPluginManager ().getPlugins ());
50- plugins .sort (this ::sortPluginABC );
50+ plugins .sort (this ::sortPluginByName );
5151 var debugInformation = new YamlConfiguration ();
5252 debugInformation .set ("server.version" , Bukkit .getVersion ());
5353 debugInformation .set ("server.plugins" , plugins .size ());
@@ -85,7 +85,7 @@ public BukkitDebugBuilder defaultPaperDebugInformation() throws IOException {
8585 return this ;
8686 }
8787
88- private int sortPluginABC (@ NotNull Plugin A , @ NotNull Plugin B ) {
88+ private int sortPluginByName (@ NotNull Plugin A , @ NotNull Plugin B ) {
8989 return A .getName ().compareTo (B .getName ());
9090 }
9191
You can’t perform that action at this time.
0 commit comments