Skip to content

Commit 6817e7b

Browse files
committed
v3.4.1
- Fix potential error on startup due to race condition in async config loading
1 parent aecd454 commit 6817e7b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>net.forestfire</groupId>
77
<artifactId>Elevators</artifactId>
8-
<version>3.4.0</version>
8+
<version>3.4.1</version>
99
<packaging>jar</packaging>
1010
<name>Elevators</name>
1111
<properties>

src/main/java/net/forestfire/elevators/Main.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class Main extends JavaPlugin implements Listener {
4040
@Override
4141
public void onEnable() {
4242
Conf.initDefaults(this);
43-
setTimeout(() -> Conf.doConfLoad(null), 200);
43+
Conf.doConfLoad(null);
4444
getServer().getPluginManager().registerEvents(this, this);
4545
Bukkit.getConsoleSender().sendMessage(Conf.MSG_DBG+"§dElevators Plugin Loaded!");
4646
}

0 commit comments

Comments
 (0)