SteamWar/SpigotCore
Archiviert
13
0

Fix catch of SubCommand

Dieser Commit ist enthalten in:
yoyosource 2021-03-25 12:30:28 +01:00
Ursprung 377befea47
Commit 10cb766be9

Datei anzeigen

@ -77,7 +77,7 @@ class SubCommand {
method.invoke(swCommand, objects); method.invoke(swCommand, objects);
} catch (IllegalArgumentException | IllegalAccessException e) { } catch (IllegalArgumentException | IllegalAccessException e) {
throw new SecurityException(e.getMessage(), e); throw new SecurityException(e.getMessage(), e);
} catch (InvocationTargetException | SecurityException e) { } catch (InvocationTargetException | RuntimeException e) {
return false; return false;
} }
return true; return true;