mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 15:49:00 +01:00
Correctly copy alias requirements in command upgrader
Fixes NPE when converting namespaced commands. Since the brigadier command api, more aliased commands (namespaced variants) are registered in the vanilla dispatcher, which made this issue more apparent.
This commit is contained in:
parent
e5d36081c0
commit
9e0c66cd6c
1 changed files with 1 additions and 1 deletions
|
@ -27842,7 +27842,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ new LiteralCommandNode<>(
|
||||
+ redirectNode.getName(),
|
||||
+ null,
|
||||
+ null,
|
||||
+ toNode.getRequirement(),
|
||||
+ toNode,
|
||||
+ redirectNode.getRedirectModifier(),
|
||||
+ redirectNode.isFork()
|
||||
|
|
Loading…
Reference in a new issue