bukkit: Use command name instead of label to get node
This commit is contained in:
parent
7a5efbd6da
commit
8399bce8d2
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ final class BukkitCommand<C> extends org.bukkit.command.Command implements Plugi
|
||||||
}
|
}
|
||||||
|
|
||||||
private CommandTree.Node<CommandArgument<C, ?>> namedNode() {
|
private CommandTree.Node<CommandArgument<C, ?>> namedNode() {
|
||||||
return this.manager.getCommandTree().getNamedNode(this.getLabel());
|
return this.manager.getCommandTree().getNamedNode(this.getName());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue