Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Copy forward when registering alias (fixes PaperMC#10827)
When flattening any command or registering an alias to a node with no direct children (such as a redirect), the code now takes into account any potential redirect/fork/forward on the target node. This fixes the issue where, when registering a command that was simply a redirect, only the namespaced literal would work, and not any aliases of the command.
- Loading branch information