9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-29 03:49:19 +00:00

Changed loading of database to be async

This commit is contained in:
HeroBrineGoat
2022-01-21 18:35:03 -05:00
parent f7d8a7205f
commit edc8724e90

View File

@@ -60,7 +60,7 @@ public class Database {
}
public void load() {
new DatabaseConverter(this.plugin, this).convert();
Bukkit.getScheduler().runTaskAsynchronously(this.plugin, () -> new DatabaseConverter(this.plugin, this).convert());
}
protected void createTables() {