Skip to content

Commit

Permalink
Fix casing
Browse files Browse the repository at this point in the history
  • Loading branch information
Strokkur424 committed Jan 15, 2025
1 parent 8b1d819 commit 0905958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/paper/dev/api/command-api/basics/executors.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public interface Command<S> {
}
```

Our lambda has one parameter and returns an integer. That is essentially that `run` method defined in that Interface. The one parameter, `CommandContext<S>` is the one where
Our lambda has one parameter and returns an integer. That is essentially that `run` method defined in that interface. The one parameter, `CommandContext<S>` is the one where
we get all the information about the sender who executed that command and all the command arguments. It has quite a few methods, but the main ones of use for us are
`S getSource()` and `V getArgument(String, Class<V>)`. We have taken a brief look at the `getArgument(...)` in the [Arguments and Literals](./arguments-and-literals) chapter, but
in a nutshell, this is the method that we can retrieve arguments from. There will be more specific examples later on.
Expand Down

0 comments on commit 0905958

Please sign in to comment.