Skip to content

Commit

Permalink
fix: change bukkit scheduler to universal one
Browse files Browse the repository at this point in the history
  • Loading branch information
NCT-skyouo committed Sep 29, 2024
1 parent 0d6084f commit cf9c3e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ private void generateFirstLoad() {

if (awaitingProviders.isEmpty()) {
// do not wait for anything
Bukkit.getScheduler().runTaskLater(this, () -> {
ScheduleUtil.GLOBAL.runTaskLater(this, () -> {
this.generate().whenComplete((pack, throwable) -> {
if (throwable != null) {
getLogger().log(Level.SEVERE, "Error while generating resource pack", throwable);
Expand Down

0 comments on commit cf9c3e4

Please sign in to comment.