Skip to content

Commit

Permalink
Fix incorrect link
Browse files Browse the repository at this point in the history
  • Loading branch information
Strokkur424 committed Dec 15, 2024
1 parent 1147109 commit f55c87b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/paper/dev/api/command-api/command-tree.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ stateDiagram-v2
It is important to remember that this tree-like structure is not only important for Brigadier. It is a fairly often used concept. Paper's included **Adventure API** also operates using
a tree. Why is this important for using Brigadier though? Well, it allows for explicit command declaration. Being at a node, you know exactly where you are. That means you do not have
to, like in standard Bukkit way, first check whether the amount of arguments is 2 and the first argument is `tphere`. Because you are at that exact `tphere` node, you can just start writing
your logic. If you want to learn more about the execute logic of Brigadier commands, it is suggested that you check out our [Extensive Guide on Command Execution](./command-execution.mdx).
your logic. If you want to learn more about the execute logic of Brigadier commands, it is suggested that you check out our [Extensive Guide on Command Execution](./command-executors).

## How can we visualize a tree in-code?
Well, we can define our root like this:
Expand Down

0 comments on commit f55c87b

Please sign in to comment.