mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
This commit is contained in:
parent
d9b0aeca7f
commit
3eb77e3e8b
@ -51,6 +51,7 @@ public final class EnumConverter {
|
|||||||
commandManager.registerConverter(Key.of(HookMode.class),
|
commandManager.registerConverter(Key.of(HookMode.class),
|
||||||
basic(HookMode.class));
|
basic(HookMode.class));
|
||||||
commandManager.registerConverter(Key.of(Scroll.Action.class),
|
commandManager.registerConverter(Key.of(Scroll.Action.class),
|
||||||
|
basic(Scroll.Action.class));
|
||||||
}
|
}
|
||||||
|
|
||||||
private static <E extends Enum<E>> ArgumentConverter<E> basic(Class<E> enumClass) {
|
private static <E extends Enum<E>> ArgumentConverter<E> basic(Class<E> enumClass) {
|
||||||
|
Loading…
Reference in New Issue
Block a user