diff --git a/examples/example-bukkit/src/main/java/cloud/commandframework/examples/bukkit/ExamplePlugin.java b/examples/example-bukkit/src/main/java/cloud/commandframework/examples/bukkit/ExamplePlugin.java index 390d5559..0590cf1b 100644 --- a/examples/example-bukkit/src/main/java/cloud/commandframework/examples/bukkit/ExamplePlugin.java +++ b/examples/example-bukkit/src/main/java/cloud/commandframework/examples/bukkit/ExamplePlugin.java @@ -221,7 +221,7 @@ public final class ExamplePlugin extends JavaPlugin { // Add a confirmation command // this.manager.command(builder.literal("confirm") - .meta("description", "Confirm a pending command") + .meta(CommandMeta.DESCRIPTION, "Confirm a pending command") .handler(this.confirmationManager.createConfirmationExecutionHandler())); // // Create a world argument @@ -318,7 +318,7 @@ public final class ExamplePlugin extends JavaPlugin { // A command to change the color scheme for the help command // manager.command(builder - .meta("description", "Sets the color scheme for '/example help'") + .meta(CommandMeta.DESCRIPTION, "Sets the color scheme for '/example help'") .literal("helpcolors") .argument( TextColorArgument.of("primary"), diff --git a/examples/example-bungee/src/main/java/cloud/commandframework/examples/bungee/ExamplePlugin.java b/examples/example-bungee/src/main/java/cloud/commandframework/examples/bungee/ExamplePlugin.java index 5478c6a9..c463fca2 100644 --- a/examples/example-bungee/src/main/java/cloud/commandframework/examples/bungee/ExamplePlugin.java +++ b/examples/example-bungee/src/main/java/cloud/commandframework/examples/bungee/ExamplePlugin.java @@ -33,6 +33,7 @@ import cloud.commandframework.bungee.arguments.ServerArgument; import cloud.commandframework.execution.AsynchronousCommandExecutionCoordinator; import cloud.commandframework.execution.CommandExecutionCoordinator; import cloud.commandframework.extra.confirmation.CommandConfirmationManager; +import cloud.commandframework.meta.CommandMeta; import cloud.commandframework.minecraft.extras.MinecraftExceptionHandler; import net.kyori.adventure.platform.bungeecord.BungeeAudiences; import net.kyori.adventure.text.Component; @@ -108,7 +109,7 @@ public final class ExamplePlugin extends Plugin { // Add a confirmation command // this.manager.command(builder.literal("confirm") - .meta("description", "Confirm a pending command") + .meta(CommandMeta.DESCRIPTION, "Confirm a pending command") .handler(this.confirmationManager.createConfirmationExecutionHandler())); final CommandArgument playerArgument = PlayerArgument.of("player");