Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-16 21:10:30 +01:00
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