Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-17 05:20:05 +01:00
Added plugin loading log entry
Dieser Commit ist enthalten in:
Ursprung
cc2e721ffc
Commit
397f25aa24
@ -190,6 +190,8 @@ public final class CraftServer implements Server {
|
|||||||
Plugin[] plugins = pluginManager.loadPlugins(pluginFolder);
|
Plugin[] plugins = pluginManager.loadPlugins(pluginFolder);
|
||||||
for (Plugin plugin : plugins) {
|
for (Plugin plugin : plugins) {
|
||||||
try {
|
try {
|
||||||
|
String message = String.format("Loading %s", plugin.getDescription().getFullName());
|
||||||
|
plugin.getLogger().info(message);
|
||||||
plugin.onLoad();
|
plugin.onLoad();
|
||||||
} catch (Throwable ex) {
|
} catch (Throwable ex) {
|
||||||
Logger.getLogger(CraftServer.class.getName()).log(Level.SEVERE, ex.getMessage() + " initializing " + plugin.getDescription().getFullName() + " (Is it up to date?)", ex);
|
Logger.getLogger(CraftServer.class.getName()).log(Level.SEVERE, ex.getMessage() + " initializing " + plugin.getDescription().getFullName() + " (Is it up to date?)", ex);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren