This commit is contained in:
Jesse Boyd 2019-11-19 04:49:13 +00:00
parent d9b0aeca7f
commit 3eb77e3e8b
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -51,6 +51,7 @@ public final class EnumConverter {
commandManager.registerConverter(Key.of(HookMode.class),
basic(HookMode.class));
commandManager.registerConverter(Key.of(Scroll.Action.class),
basic(Scroll.Action.class));
}
private static <E extends Enum<E>> ArgumentConverter<E> basic(Class<E> enumClass) {