fix formatting

This commit is contained in:
Jason Penilla 2022-08-18 15:42:47 -07:00 committed by Jason
parent 32a756f033
commit 73a0386a85

View file

@ -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);