Make debug dump file names consistent (#9075)

This commit is contained in:
powercas_gamer
2023-03-31 13:17:57 +02:00
parent ee6a62f6b7
commit bde53d9d44
2 changed files with 2 additions and 2 deletions

View File

@@ -313,7 +313,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+
+ private void dumpPlugins(final CommandSender sender, final String[] args) {
+ Path parent = Path.of("debug");
+ Path path = parent.resolve("plugin-info" + FORMATTER.format(LocalDateTime.now()) + ".txt");
+ Path path = parent.resolve("plugin-info-" + FORMATTER.format(LocalDateTime.now()) + ".txt");
+ try {
+ Files.createDirectories(parent);
+ Files.createFile(path);