Identify CLI as Fawe version

This commit is contained in:
NotMyFault 2021-09-07 01:06:22 +02:00
parent 17a1c7e0bf
commit 91ad0a20ef
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C

View File

@ -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() {