We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bfb6fea + fed1fdc commit eb3968bCopy full SHA for eb3968b
src/main/java/org/mvplugins/multiverse/core/commands/DumpsService.java
@@ -5,6 +5,7 @@
5
import java.nio.charset.StandardCharsets;
6
import java.nio.file.Files;
7
import java.nio.file.Path;
8
+import java.util.Arrays;
9
10
import com.dumptruckman.minecraft.util.Logging;
11
import jakarta.inject.Inject;
@@ -136,6 +137,9 @@ private void addDebugInfoToEvent(MVDumpsDebugInfoEvent event) {
136
137
}
138
139
private String getPluginList() {
- return " - " + StringUtils.join(plugin.getServer().getPluginManager().getPlugins(), "\n - ");
140
+ return " - " + StringUtils.join(Arrays.stream(plugin.getServer().getPluginManager().getPlugins())
141
+ .map(Object::toString)
142
+ .sorted()
143
+ .toList(), "\n - ");
144
145
0 commit comments