Minecraft 1.14.4 Bukkit.getScheduler (). CancelAllTasks (), alternative?

Br
5

Bukkit.getScheduler () cancelAllTasks ().

Hello I'm looking for a 1.14.4 alternative for the surcecode you see above .cancelAllTasks (); I can't bless that there are .cancelTasks () but I couldn't find out what has to be in the brackets, can you please help me?

Dr

What has to be in the brackets says your IDE…

If not, go to IntelliJ. It definitely does

Dr

I believe in the brackets the respective plugin.

Didn't look at it now

Br

Yes, there's a plugin plugin in the brackets, but there's still an error message

Mi

In 1.8 it was always the case that as soon as you created a scheduler, the method gives you an int for the taskId as a return value, which you can specify in .cancelTasks ().

Dr

What is the message?