diff --git a/cloud-core/src/main/java/cloud/commandframework/Command.java b/cloud-core/src/main/java/cloud/commandframework/Command.java index f812e974..e3544d4c 100644 --- a/cloud-core/src/main/java/cloud/commandframework/Command.java +++ b/cloud-core/src/main/java/cloud/commandframework/Command.java @@ -1112,9 +1112,9 @@ public class Command { /** * Make the current command be a proxy of the supplied command. This means that - * all of the proxied commands variable command arguments will be inserted into this + * all of the proxied command's variable command arguments will be inserted into this * builder instance, in the order they are declared in the proxied command. Furthermore, - * the proxied commands command handler will be showed by the command that is currently + * the proxied command's command handler will be shown by the command that is currently * being built. If the current command builder does not have a permission node set, this * too will be copied. * diff --git a/docs/README.adoc b/docs/README.adoc index e7fffb91..2e7cf101 100644 --- a/docs/README.adoc +++ b/docs/README.adoc @@ -537,7 +537,7 @@ to the context. * If the command is valid, it will be sent to the postprocessors. 5. The command postprocessors get to act on the command can alter the command context. they may now postpone command execution, such is the case with the command confirmation postprocessor. - * If a postprocessor causes an interrupt using `ConsumerService.interupt()` the command will not be executed. + * If a postprocessor causes an interrupt using `ConsumerService.interrupt()` the command will not be executed. * If no postprocessor interrupts during the post-processing stage, the command will be sent to the executor. 6. The command is executed using the command executor. @@ -597,16 +597,16 @@ original command. Essentially, they can be thought of as more powerful command aliases. It is easier understood by an example. Imagine you have a warp command in a game, -let's call it `/game warp me ` but you feel like it's a little too verbose for common use, you may then choose to introduce a -`/warpme ` command proxy that gets forwarded to the original command. +let's call it `/game warp me `, but you feel like it's a little too verbose for common use. You may then choose to introduce +a `/warpme ` command proxy that gets forwarded to the original command. To create a command proxy you can use https://javadoc.io/doc/cloud.commandframework/cloud-core/latest/cloud/commandframework/Command.Builder.html#proxies(cloud.commandframework.Command)[Command.Builder#proxies(Command)]. -Please not the documentation of the method, which reads: +Please note the documentation of the method, which reads: > Make the current command be a proxy of the supplied command. -This means that all of the proxied commands variable command arguments will be inserted into this builder instance, -in the order they are declared in the proxied command. Furthermore, the proxied commands command handler will be showed by the +This means that all of the proxied command's variable command arguments will be inserted into this builder instance, +in the order they are declared in the proxied command. Furthermore, the proxied command's command handler will be shown by the command that is currently being built. If the current command builder does not have a permission node set, this too will be copied. === Permissions @@ -675,7 +675,7 @@ until an additional command has been dispatched. You first have to create a command confirmation manager: [source,java] ---- -CommandConfirmationmanager confirmationManager = new CommandConfirmationManager<>( +CommandConfirmationManager confirmationManager = new CommandConfirmationManager<>( 30L, <1> TimeUnit.SECONDS, context -> context.getCommandContext().getSender().sendMessage("Confirmation required!"), <2> @@ -1194,7 +1194,7 @@ https://javadoc.io/doc/cloud.commandframework/cloud-core/latest/cloud/commandfra https://github.com/Mojang/Brigadier[Brigadier] is Mojang's command parser and dispatcher for Minecraft: Java Edition. -It was released in version 1.13, and is available in notchain +It was released in version 1.13, and is available in Notchian servers and clients released since. The most notable feature of Brigadier is the real-time argument parsing and feedback system, which allows you to see whether your argument is valid, while writing it. This feature @@ -1208,10 +1208,10 @@ https://github.com/lucko/commodore[commodore], and Sponge v8+. When using Paper/Spigot, this feature is opt-in (refer to the platform documentation for more information). -Cloud will try to hook into the Mojang (`net.minecraft.server`) serilizable types. In most cases this works when using the -platform specific argument types, such as Location. -You can also create your own mappings. See the platform adapter JavaDoc for -more information. +Cloud will try to hook into the Mojang (`net.minecraft.server`) serializable +types. In most cases this works when using the platform specific argument types, +such as Location. You can also create your own mappings. See the platform adapter +JavaDoc for more information. === Discord TODO