From bde53d9d44457a396fc347e3e082482603f80ed1 Mon Sep 17 00:00:00 2001 From: powercas_gamer Date: Fri, 31 Mar 2023 13:17:57 +0200 Subject: [PATCH] Make debug dump file names consistent (#9075) --- patches/server/Add-debug-for-sync-chunk-loads.patch | 2 +- patches/server/Paper-Plugins.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/server/Add-debug-for-sync-chunk-loads.patch b/patches/server/Add-debug-for-sync-chunk-loads.patch index bb3ecf2b70..6623ad557c 100644 --- a/patches/server/Add-debug-for-sync-chunk-loads.patch +++ b/patches/server/Add-debug-for-sync-chunk-loads.patch @@ -273,7 +273,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + } + + File file = new File(new File(new File("."), "debug"), -+ "sync-load-info" + FORMATTER.format(LocalDateTime.now()) + ".txt"); ++ "sync-load-info-" + FORMATTER.format(LocalDateTime.now()) + ".txt"); + file.getParentFile().mkdirs(); + sender.sendMessage(text("Writing sync load info to " + file, GREEN)); + diff --git a/patches/server/Paper-Plugins.patch b/patches/server/Paper-Plugins.patch index 94d1c06ea6..92f54574cb 100644 --- a/patches/server/Paper-Plugins.patch +++ b/patches/server/Paper-Plugins.patch @@ -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);