mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-27 20:59:12 +01:00
Properly cancel tasks!
This commit is contained in:
parent
00a0277a13
commit
89edb00c05
@ -35,6 +35,7 @@ public class BungeeScheduler implements TaskScheduler
|
||||
public void cancel(int id)
|
||||
{
|
||||
BungeeTask task = tasks.remove( id );
|
||||
task.cancel();
|
||||
tasksByPlugin.values().remove( task );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user