Skip to content

Commit

Permalink
actually fix stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysdh540 committed Oct 13, 2023
1 parent 19d5421 commit 6105c88
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public class EnumArgument<T extends Enum<T>> implements ArgumentType<T> {
private final boolean lowercase;

public static void init() {
Util.registerArgument("enumargument", EnumArgument.class, new EnumArgument.Info(), CreateUnlimited.asResource("enumargument"));
Util.registerArgument(EnumArgument.class, new EnumArgument.Info(), CreateUnlimited.asResource("enumargument"));
}

public static <R extends Enum<R>> EnumArgument<R> enumArg(Class<R> enumClass, boolean lowercase) {
Expand Down

0 comments on commit 6105c88

Please sign in to comment.