runTask

fun runTask(plugin: Plugin): ScheduledTask

Schedules this in the Bukkit scheduler to run on next tick.

Return

{@link MyScheduledTask}

Parameters

plugin

the reference to the plugin scheduling task

Throws

if plugin is null

if this was already scheduled