Skip to content

Commit a250c1d

Browse files
authored
Fix typo for BukkitRunnable page (#498)
1 parent fdd642a commit a250c1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/paper/dev/api/scheduler.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public class CustomRunnable extends BukkitRunnable {
209209
return;
210210
}
211211

212-
task.cancel(); // The entity is no longer valid, there's no point in continuing to run this task
212+
this.cancel(); // The entity is no longer valid, there's no point in continuing to run this task
213213
}
214214
}
215215
```

0 commit comments

Comments
 (0)