From 54bf94c20fd46689ff6772ea0a410b547861a6c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20S=C3=B6derberg?= Date: Fri, 2 Feb 2024 12:08:38 +0100 Subject: [PATCH] fix(core): use correct variable name in parser example --- docs/core/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/core/index.md b/docs/core/index.md index e733ca9..a6bc1b8 100644 --- a/docs/core/index.md +++ b/docs/core/index.md @@ -736,9 +736,9 @@ Returning a future is useful when the parsing needs to take place on a specific @Override public ArgumentParseResult parse( CommandContext context, - CommandInput input + CommandInput commandInput ) { - final String input = input.peekString(); // Does not remove the string from the input! + final String input = commandInput.peekString(); // Does not remove the string from the input! try { final UUID uuid = UUID.fromString(input); input.readString(); // Removes the string from the input.