Skip to content

Commit

Permalink
chore: Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ryderbelserion committed Apr 20, 2024
1 parent 1cb1af1 commit 66842a8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,10 @@ public void onEnable() {

@Override
public void onDisable() {
// CancelTask
// Cancel the tasks
getServer().getGlobalRegionScheduler().cancelTasks(this);
getServer().getAsyncScheduler().cancelTasks(this);

// Cancel the timer task.
this.timer.cancel();

Expand Down

0 comments on commit 66842a8

Please sign in to comment.