Fix SWCommand
Dieser Commit ist enthalten in:
Ursprung
03d35042e3
Commit
bba1c1fbf7
@ -63,7 +63,8 @@ public abstract class SWCommand {
|
|||||||
});
|
});
|
||||||
|
|
||||||
for (Method method : getClass().getDeclaredMethods()) {
|
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) {
|
if (method.getReturnType() == Void.TYPE) {
|
||||||
commandSet.add(new InternalCommand(this, method));
|
commandSet.add(new InternalCommand(this, method));
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren