Mirror von
https://github.com/TheSilentPro/HeadDB.git
synchronisiert 2024-12-28 03:40:06 +01:00
No need for scheduler
Dieser Commit ist enthalten in:
Ursprung
b7f550546f
Commit
24edccf01d
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren