Change exception variable

java-rewrite
Hammy 3 years ago
parent 720761e7a0
commit 144a7c2b44

@ -214,8 +214,8 @@ public class SlashCommandLoader implements CommandLoader {
ExecutableMethod<Object, Object> executableMethod = null;
try {
executableMethod = beanContext.getExecutableMethod(clazz, methodName, SlashCommandEvent.class);
} catch (NoSuchMethodException e) {
e.printStackTrace();
} catch (NoSuchMethodException nsme) {
nsme.printStackTrace();
}
commandMap.put(commandPath, new ImmutablePair<>(beanInstance, executableMethod));

Loading…
Cancel
Save