Improve docs around Brigadier on bukkit/paper
This commit is contained in:
parent
c8f07033e6
commit
5bd2b90d02
5 changed files with 35 additions and 7 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue