From 4b371e2c3f2bf67949386f9e1a0e6b95df97f5f7 Mon Sep 17 00:00:00 2001 From: Hannes Greule Date: Fri, 9 Apr 2021 22:12:52 +0200 Subject: [PATCH] Fix latest.log not contained in debugpaste, fix #1017 --- .../java/com/sk89q/worldedit/command/WorldEditCommands.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/command/WorldEditCommands.java b/worldedit-core/src/main/java/com/sk89q/worldedit/command/WorldEditCommands.java index 8ebe8a88e..85d96d45b 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/command/WorldEditCommands.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/command/WorldEditCommands.java @@ -144,7 +144,7 @@ public class WorldEditCommands { public void report(Actor actor) throws WorldEditException { String dest; try { - final File logFile = new File(Fawe.imp().getDirectory(), "../../logs/latest.log"); + final File logFile = new File("logs/latest.log"); final File config = new File(Fawe.imp().getDirectory(), "config.yml"); final File legacyConfig = new File(Fawe.imp().getDirectory(), "config-legacy.yml"); dest = IncendoPaster.debugPaste(logFile, Fawe.imp().getDebugInfo(), config, legacyConfig);