geforkt von Mirrors/Velocity
Swallow Throwable since plugins are naughty and don't do the right thing -_-
Dieser Commit ist enthalten in:
Ursprung
65e1b7be87
Commit
c2db8d4ac1
@ -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);
|
||||
}
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren