geforkt von Mirrors/HeadDB
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