12
0
Dieser Commit ist enthalten in:
yoyosource 2021-03-12 17:10:24 +01:00
Ursprung 03d35042e3
Commit bba1c1fbf7

Datei anzeigen

@ -63,7 +63,8 @@ public abstract class SWCommand {
});
for (Method method : getClass().getDeclaredMethods()) {
if (method.getDeclaredAnnotation(Register.class) == null || !validMethod(method)) continue;
if (method.getDeclaredAnnotation(Register.class) == null) continue;
if (!validMethod(method)) continue;
if (method.getReturnType() == Void.TYPE) {
commandSet.add(new InternalCommand(this, method));
}