Skip to content

Commit

Permalink
feat(cmd): Add command creator
Browse files Browse the repository at this point in the history
  • Loading branch information
CarmJos committed Dec 19, 2023
1 parent 92109ba commit 57e9c88
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

public class TempHandlerLoader<H extends AbstractUserHandler> extends UserHandlerLoader<H> {

public <T extends AbstractUserHandler> TempHandlerLoader<T> of(@NotNull Plugin plugin, @NotNull Class<T> handlerClass,
public static <T extends AbstractUserHandler> TempHandlerLoader<T> of(@NotNull Plugin plugin, @NotNull Class<T> handlerClass,
@NotNull Function<User, T> loader) {
return new TempHandlerLoader<>(plugin, handlerClass, loader);
}
Expand Down

0 comments on commit 57e9c88

Please sign in to comment.