Update dependency com.sk89q.worldguard:worldguard-bukkit to v7.0.6 (#1305)

* Update dependency com.sk89q.worldguard:worldguard-bukkit to v7.0.6

* Make it compile

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: NotMyFault <mc.cache@web.de>
This commit is contained in:
renovate[bot]
2021-09-18 21:59:29 +02:00
committed by GitHub
parent 0a48765c98
commit 8cc93a2255
3 changed files with 1 additions and 5 deletions

View File

@ -1,7 +1,6 @@
package com.fastasyncworldedit.bukkit.util;
import com.fastasyncworldedit.core.util.TaskManager;
import org.apache.commons.lang.mutable.MutableInt;
import org.bukkit.Bukkit;
import org.bukkit.plugin.Plugin;
@ -25,8 +24,6 @@ public class BukkitTaskManager extends TaskManager {
return this.plugin.getServer().getScheduler().scheduleAsyncRepeatingTask(this.plugin, runnable, interval, interval);
}
public MutableInt index = new MutableInt(0);
@Override
public void async(@Nonnull final Runnable runnable) {
this.plugin.getServer().getScheduler().runTaskAsynchronously(this.plugin, runnable).getTaskId();