diff --git a/worldguard-bukkit/build.gradle.kts b/worldguard-bukkit/build.gradle.kts index 332a7fc15..13a9198c9 100644 --- a/worldguard-bukkit/build.gradle.kts +++ b/worldguard-bukkit/build.gradle.kts @@ -11,6 +11,7 @@ applyPlatformAndCoreConfiguration() applyShadowConfiguration() repositories { + mavenLocal() maven { name = "paper" url = uri("https://papermc.io/repo/repository/maven-public/") @@ -27,7 +28,7 @@ dependencies { "api"("com.destroystokyo.paper:paper-api:1.15-R0.1-SNAPSHOT") "implementation"("io.papermc:paperlib:1.0.2") "api"("com.sk89q.worldedit:worldedit-bukkit:${Versions.WORLDEDIT}") { isTransitive = false } - "implementation"("com.sk89q:commandbook:2.3") { isTransitive = false } + "implementation"("com.sk89q:commandbook:3.0-SNAPSHOT") { isTransitive = false } "implementation"("org.bstats:bstats-bukkit:1.5") } diff --git a/worldguard-bukkit/src/main/java/com/sk89q/worldguard/bukkit/listener/WorldGuardCommandBookListener.java b/worldguard-bukkit/src/main/java/com/sk89q/worldguard/bukkit/listener/WorldGuardCommandBookListener.java index 8af947eca..d03ab3a85 100644 --- a/worldguard-bukkit/src/main/java/com/sk89q/worldguard/bukkit/listener/WorldGuardCommandBookListener.java +++ b/worldguard-bukkit/src/main/java/com/sk89q/worldguard/bukkit/listener/WorldGuardCommandBookListener.java @@ -19,7 +19,7 @@ package com.sk89q.worldguard.bukkit.listener; -import com.sk89q.commandbook.InfoComponent; +import com.sk89q.commandbook.component.info.InfoComponent; import com.sk89q.worldguard.LocalPlayer; import com.sk89q.worldguard.WorldGuard; import com.sk89q.worldguard.bukkit.WorldGuardPlugin;