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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 5 deletions

View File

@ -11,7 +11,7 @@ paper = "1.17.1-R0.1-SNAPSHOT"
# Plugins
vault = "1.7.1"
dummypermscompat = "1.10"
worldguard-bukkit = "7.0.5"
worldguard-bukkit = "7.0.6"
mapmanager = "1.8.0-SNAPSHOT"
griefprevention = "16.17.1"
griefdefender = "920a610"

View File

@ -59,7 +59,6 @@ dependencies {
// Platform expectations
api(libs.paper) {
exclude("junit", "junit")
isTransitive = false
exclude(group = "org.slf4j", module = "slf4j-api")
}

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();