mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Identify CLI as Fawe version
This commit is contained in:
parent
17a1c7e0bf
commit
91ad0a20ef
@ -176,7 +176,9 @@ public class CLIWorldEdit {
|
|||||||
|
|
||||||
public void onInitialized() {
|
public void onInitialized() {
|
||||||
// Setup working directory
|
// Setup working directory
|
||||||
workingDir = Paths.get("worldedit");
|
//FAWE start - setup Fawe directory
|
||||||
|
workingDir = Paths.get("fastasyncworldedit");
|
||||||
|
//FAWE end
|
||||||
if (!Files.exists(workingDir)) {
|
if (!Files.exists(workingDir)) {
|
||||||
try {
|
try {
|
||||||
Files.createDirectory(workingDir);
|
Files.createDirectory(workingDir);
|
||||||
@ -187,7 +189,9 @@ public class CLIWorldEdit {
|
|||||||
|
|
||||||
this.commandSender = new CLICommandSender(this, LOGGER);
|
this.commandSender = new CLICommandSender(this, LOGGER);
|
||||||
this.platform = new CLIPlatform(this);
|
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() {
|
public void onStarted() {
|
||||||
|
Loading…
Reference in New Issue
Block a user