Skip to content
This repository was archived by the owner on Oct 14, 2023. It is now read-only.

Commit 7bf4d73

Browse files
committed
Bugfix -> Plugin now work on 1.20.2
1 parent 93d30d2 commit 7bf4d73

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>de.cubeattack</groupId>
88
<artifactId>neoprotect</artifactId>
9-
<version>1.2.9.9-Beta</version>
9+
<version>1.3.0-Beta</version>
1010
<packaging>jar</packaging>
1111

1212
<name>NeoProtect</name>
@@ -119,7 +119,7 @@
119119
<dependency>
120120
<groupId>com.github.CubeAttack</groupId>
121121
<artifactId>EasyAPI</artifactId>
122-
<version>e4c7f7a121</version>
122+
<version>1765b9a426</version>
123123
</dependency>
124124
<dependency>
125125
<groupId>io.netty</groupId>
@@ -149,7 +149,7 @@
149149
<dependency>
150150
<groupId>net.md-5</groupId>
151151
<artifactId>bungeecord-proxy</artifactId>
152-
<version>1.20-R0.1-SNAPSHOT</version>
152+
<version>1.20-R0.2-SNAPSHOT</version>
153153
<scope>provided</scope>
154154
</dependency>
155155
<dependency>

src/main/java/de/cubeattack/neoprotect/core/executor/NeoProtectExecutor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ public ExecutorBuilder args(String[] args) {
558558
}
559559

560560
public ExecutorBuilder local(Locale local) {
561-
this.local = local;
561+
this.local = local == null ? Locale.ENGLISH : local;
562562
return this;
563563
}
564564

@@ -577,7 +577,7 @@ public void executeChatEvent() {
577577
}
578578

579579
public void executeCommand() {
580-
API.getExecutorService().submit(() -> new NeoProtectExecutor().command(this));
580+
new NeoProtectExecutor().command(this);
581581
}
582582

583583
public NeoProtectPlugin getInstance() {

0 commit comments

Comments
 (0)