Skip to content

Commit

Permalink
fix: Fix infinite recursion.
Browse files Browse the repository at this point in the history
  • Loading branch information
FixedDev committed Jan 4, 2024
1 parent 320392c commit 9300913
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public interface BrigadierCommandNodeMappings<T> {
* @return A {@link CommandNodeMapping}, if it exists, suitable for converting a {@linkplain team.unnamed.commandflow.part.ArgumentPart} of the specified type.
*/
default Optional<CommandNodeMapping<T>> getMapping(Class<?> type) {
return getMapping(type);
return getMapping((Type) type);
}

/**
Expand Down

0 comments on commit 9300913

Please sign in to comment.