13
0
geforkt von Mirrors/Velocity

Swallow Throwable since plugins are naughty and don't do the right thing -_-

Dieser Commit ist enthalten in:
Andrew Steinborn 2020-07-29 03:58:04 -04:00
Ursprung 65e1b7be87
Commit c2db8d4ac1

Datei anzeigen

@ -164,7 +164,8 @@ public class VelocityCommandManager implements CommandManager {
source.sendMessage(TextComponent.of(e.getMessage(), NamedTextColor.RED));
}
return false;
} catch (final Exception e) {
} catch (final Throwable e) {
// Ugly, ugly swallowing of everything Throwable, because plugins are naughty.
throw new RuntimeException("Unable to invoke command " + cmdLine + " for " + source, e);
}
}