No need for scheduler

Dieser Commit ist enthalten in:
Silent 2020-12-21 18:57:07 +01:00
Ursprung b7f550546f
Commit 24edccf01d

Datei anzeigen

@ -45,7 +45,7 @@ public class HeadDB extends JavaPlugin {
Bukkit.getScheduler().runTaskAsynchronously(this, task -> HeadAPI.getDatabase().update()); Bukkit.getScheduler().runTaskAsynchronously(this, task -> HeadAPI.getDatabase().update());
}else { }else {
Log.debug("Initializing Database... (SYNC)"); Log.debug("Initializing Database... (SYNC)");
Bukkit.getScheduler().runTask(this, task -> HeadAPI.getDatabase().update()); HeadAPI.getDatabase().update();
} }
} }