runTask

open override fun runTask(runnable: Runnable): BukkitScheduledTask

Schedules a task to be executed on the next tick
Folia & Paper: ...on the global region
Bukkit: ...on the main thread

Parameters

runnable

The task to execute