From a250c1d746de201a617d2ec61a5c6fe7dc0d6c7e Mon Sep 17 00:00:00 2001 From: Andre_601 Date: Mon, 25 Nov 2024 00:52:30 +0100 Subject: [PATCH] Fix typo for BukkitRunnable page (#498) --- docs/paper/dev/api/scheduler.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/paper/dev/api/scheduler.mdx b/docs/paper/dev/api/scheduler.mdx index 35d99b82a..f4f49be27 100644 --- a/docs/paper/dev/api/scheduler.mdx +++ b/docs/paper/dev/api/scheduler.mdx @@ -209,7 +209,7 @@ public class CustomRunnable extends BukkitRunnable { return; } - task.cancel(); // The entity is no longer valid, there's no point in continuing to run this task + this.cancel(); // The entity is no longer valid, there's no point in continuing to run this task } } ```