From 8cc93a22559f023d1f67b47c485697d99087b182 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 18 Sep 2021 21:59:29 +0200 Subject: [PATCH] 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 Co-authored-by: NotMyFault --- gradle/libs.versions.toml | 2 +- worldedit-bukkit/build.gradle.kts | 1 - .../com/fastasyncworldedit/bukkit/util/BukkitTaskManager.java | 3 --- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 1c918e7a1..100d1a864 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -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" diff --git a/worldedit-bukkit/build.gradle.kts b/worldedit-bukkit/build.gradle.kts index 09ab4a8e8..db55881e3 100644 --- a/worldedit-bukkit/build.gradle.kts +++ b/worldedit-bukkit/build.gradle.kts @@ -59,7 +59,6 @@ dependencies { // Platform expectations api(libs.paper) { exclude("junit", "junit") - isTransitive = false exclude(group = "org.slf4j", module = "slf4j-api") } diff --git a/worldedit-bukkit/src/main/java/com/fastasyncworldedit/bukkit/util/BukkitTaskManager.java b/worldedit-bukkit/src/main/java/com/fastasyncworldedit/bukkit/util/BukkitTaskManager.java index 850cd886a..11b8565a6 100644 --- a/worldedit-bukkit/src/main/java/com/fastasyncworldedit/bukkit/util/BukkitTaskManager.java +++ b/worldedit-bukkit/src/main/java/com/fastasyncworldedit/bukkit/util/BukkitTaskManager.java @@ -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();