Package wbs.utils.util
Class WbsRunnable
java.lang.Object
org.bukkit.scheduler.BukkitRunnable
wbs.utils.util.WbsRunnable
- All Implemented Interfaces:
Runnable
Deprecated.
Extension of
BukkitRunnable to create a "finish" method that runs after BukkitRunnable.cancel().-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.bukkit.scheduler.BukkitRunnable
getTaskId, isCancelled, runTask, runTaskAsynchronously, runTaskLater, runTaskLaterAsynchronously, runTaskTimer, runTaskTimerAsynchronously
-
Constructor Details
-
WbsRunnable
public WbsRunnable()Deprecated.
-
-
Method Details
-
cancel
public void cancel()Deprecated.- Overrides:
cancelin classorg.bukkit.scheduler.BukkitRunnable
-
finish
protected void finish()Deprecated.Called after cancel() is invoked. To be overridden for tasks that need to clean up after themselves
-
WbsPluginthreading utilities instead.