Allow non-public command handler methods (or remove usage of method.setAccessible(true))
Vampire opened this issue · 0 comments
Vampire commented
The handler uses method.setAccessible(true)
, but currently only public
command methods are found anyway, I'd either remove that unnecessary call or even better also support non-public methods by using getDeclaredMethods()
instead of getMethods()