Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2025-01-11 23:51:22 +01:00
Broaden a catch clause so Java Errors while loading plugins don't halt the proxy.
Dieser Commit ist enthalten in:
Ursprung
27288685ff
Commit
ffd6217170
@ -76,7 +76,7 @@ public class VelocityPluginManager implements PluginManager {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
pluginObject = loader.createPlugin(plugin);
|
pluginObject = loader.createPlugin(plugin);
|
||||||
} catch (Exception e) {
|
} catch (Throwable e) {
|
||||||
logger.error("Can't create plugin {}", plugin.getId(), e);
|
logger.error("Can't create plugin {}", plugin.getId(), e);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren