fix formatting
This commit is contained in:
parent
32a756f033
commit
73a0386a85
1 changed files with 3 additions and 1 deletions
|
|
@ -677,7 +677,9 @@ public final class CloudBrigadierManager<C, S> {
|
||||||
* @param <S> source type
|
* @param <S> source type
|
||||||
* @return parsed nodes
|
* @return parsed nodes
|
||||||
*/
|
*/
|
||||||
private static <S> List<Pair<CommandNode<S>, StringRange>> getNodes(final com.mojang.brigadier.context.CommandContext<S> commandContext) {
|
private static <S> List<Pair<CommandNode<S>, StringRange>> getNodes(
|
||||||
|
final com.mojang.brigadier.context.CommandContext<S> commandContext
|
||||||
|
) {
|
||||||
try {
|
try {
|
||||||
final Method getNodesMethod = commandContext.getClass().getDeclaredMethod("getNodes");
|
final Method getNodesMethod = commandContext.getClass().getDeclaredMethod("getNodes");
|
||||||
final Object nodes = getNodesMethod.invoke(commandContext);
|
final Object nodes = getNodesMethod.invoke(commandContext);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue