Improve docs around Brigadier on bukkit/paper

This commit is contained in:
Jason Penilla 2023-04-02 12:53:06 -07:00 committed by Jason
parent c8f07033e6
commit 5bd2b90d02
5 changed files with 35 additions and 7 deletions

View file

@ -12,9 +12,6 @@ dependencies {
implementation(project(":cloud-annotations"))
implementation(project(":cloud-minecraft-extras"))
/* Extras */
implementation(libs.commodore) {
isTransitive = false
}
implementation(libs.adventurePlatformBukkit)
/* Bukkit */
compileOnly(libs.bukkit)
@ -25,7 +22,6 @@ dependencies {
tasks {
shadowJar {
relocate("net.kyori", "cloud.commandframework.example.kyori")
relocate("me.lucko", "cloud.commandframework.example.lucko")
relocate("io.leangen.geantyref", "cloud.commandframework.example.geantyref")
}
assemble {

View file

@ -174,7 +174,7 @@ public final class ExamplePlugin extends JavaPlugin {
//
// Register Brigadier mappings
//
if (this.manager.hasCapability(CloudBukkitCapabilities.BRIGADIER)) {
if (this.manager.hasCapability(CloudBukkitCapabilities.NATIVE_BRIGADIER)) {
this.manager.registerBrigadier();
}
//