From 91ad0a20efc4c137ac3a04d3f1aace8654845e24 Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Tue, 7 Sep 2021 01:06:22 +0200 Subject: [PATCH] Identify CLI as Fawe version --- .../main/java/com/sk89q/worldedit/cli/CLIWorldEdit.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/worldedit-cli/src/main/java/com/sk89q/worldedit/cli/CLIWorldEdit.java b/worldedit-cli/src/main/java/com/sk89q/worldedit/cli/CLIWorldEdit.java index 77559b779..a9a57877a 100644 --- a/worldedit-cli/src/main/java/com/sk89q/worldedit/cli/CLIWorldEdit.java +++ b/worldedit-cli/src/main/java/com/sk89q/worldedit/cli/CLIWorldEdit.java @@ -176,7 +176,9 @@ public class CLIWorldEdit { public void onInitialized() { // Setup working directory - workingDir = Paths.get("worldedit"); + //FAWE start - setup Fawe directory + workingDir = Paths.get("fastasyncworldedit"); + //FAWE end if (!Files.exists(workingDir)) { try { Files.createDirectory(workingDir); @@ -187,7 +189,9 @@ public class CLIWorldEdit { this.commandSender = new CLICommandSender(this, LOGGER); this.platform = new CLIPlatform(this); - LOGGER.info("WorldEdit CLI (version " + getInternalVersion() + ") is loaded"); + //FAWE start - identify as Fawe + LOGGER.info("FastAsyncWorldEdit CLI (version " + getInternalVersion() + ") is loaded"); + //FAWE end } public void onStarted() {