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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user