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

Fixed (extremely) dumb runnable in GUI

This commit is contained in:
HeroBrineGoat
2022-01-20 22:33:50 -05:00
parent f0a046f434
commit 246fd3f9a6
3 changed files with 85 additions and 79 deletions

View File

@@ -106,9 +106,12 @@ public class HMCCosmetics extends JavaPlugin {
}
public void load() {
this.messageHandler.load();
this.cosmeticsMenu.load();
this.database.load();
Bukkit.getScheduler().runTaskAsynchronously(this,
() -> {
this.messageHandler.load();
this.cosmeticsMenu.load();
this.database.load();
});
}
public MessageHandler getMessageHandler() {