diff --git a/pom.xml b/pom.xml index 98a8321..b4f36df 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ de.cubeattack neoprotect - 1.2.9.9-Beta + 1.3.0-Beta jar NeoProtect @@ -119,7 +119,7 @@ com.github.CubeAttack EasyAPI - e4c7f7a121 + 1765b9a426 io.netty @@ -149,7 +149,7 @@ net.md-5 bungeecord-proxy - 1.20-R0.1-SNAPSHOT + 1.20-R0.2-SNAPSHOT provided diff --git a/src/main/java/de/cubeattack/neoprotect/core/executor/NeoProtectExecutor.java b/src/main/java/de/cubeattack/neoprotect/core/executor/NeoProtectExecutor.java index 8d89c35..085aef3 100644 --- a/src/main/java/de/cubeattack/neoprotect/core/executor/NeoProtectExecutor.java +++ b/src/main/java/de/cubeattack/neoprotect/core/executor/NeoProtectExecutor.java @@ -558,7 +558,7 @@ public ExecutorBuilder args(String[] args) { } public ExecutorBuilder local(Locale local) { - this.local = local; + this.local = local == null ? Locale.ENGLISH : local; return this; } @@ -577,7 +577,7 @@ public void executeChatEvent() { } public void executeCommand() { - API.getExecutorService().submit(() -> new NeoProtectExecutor().command(this)); + new NeoProtectExecutor().command(this); } public NeoProtectPlugin getInstance() {