From 596356a93652fd3e3ca65503f8a0a12c022325c5 Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Mon, 27 Dec 2021 00:00:49 +0100 Subject: [PATCH] refactor: Shift `FileAlreadyExistsException` catch to a higher level --- .../com/sk89q/worldedit/internal/SchematicsEventListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/internal/SchematicsEventListener.java b/worldedit-core/src/main/java/com/sk89q/worldedit/internal/SchematicsEventListener.java index 2eeab1287..75907138d 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/internal/SchematicsEventListener.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/internal/SchematicsEventListener.java @@ -39,7 +39,7 @@ public class SchematicsEventListener { try { Files.createDirectories(config.resolve(event.getConfiguration().saveDir)); } catch (FileAlreadyExistsException e) { - LOGGER.info("Schematic directory exists as file. Possible symlink.", e); + LOGGER.debug("Schematic directory exists as file. Possible symlink.", e); } catch (IOException e) { LOGGER.warn("Failed to create schematics directory", e); }