Skip to content

Commit 0b2c0a4

Browse files
committed
Fix typo in JavaDocs
1 parent 26c1d82 commit 0b2c0a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commandapi-core/src/main/java/dev/jorel/commandapi/executors/CommandArguments.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ public <T> Optional<T> getOptionalUnchecked(String nodeName) {
449449
* Returns an argument purely based on its CommandAPI representation. This also attempts to directly cast the argument to the type represented by {@link dev.jorel.commandapi.arguments.AbstractArgument#getPrimitiveType()}
450450
*
451451
* @param argumentType The argument instance used to create the argument
452-
* @return The argument represented by the CommandAPI argument, or null if the argument's clas cannot be cast to the type represented by {@link dev.jorel.commandapi.arguments.AbstractArgument#getPrimitiveType()}
452+
* @return The argument represented by the CommandAPI argument, or null if the argument's class cannot be cast to the type represented by {@link dev.jorel.commandapi.arguments.AbstractArgument#getPrimitiveType()}
453453
*/
454454
@Nullable
455455
public <T> T getByArgument(AbstractArgument<T, ?, ?, ?> argumentType) {

0 commit comments

Comments
 (0)