mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-30 12:11:47 +01:00
Added plugin loading log entry
This commit is contained in:
parent
cc2e721ffc
commit
397f25aa24
1 changed files with 2 additions and 0 deletions
|
@ -190,6 +190,8 @@ public final class CraftServer implements Server {
|
|||
Plugin[] plugins = pluginManager.loadPlugins(pluginFolder);
|
||||
for (Plugin plugin : plugins) {
|
||||
try {
|
||||
String message = String.format("Loading %s", plugin.getDescription().getFullName());
|
||||
plugin.getLogger().info(message);
|
||||
plugin.onLoad();
|
||||
} catch (Throwable ex) {
|
||||
Logger.getLogger(CraftServer.class.getName()).log(Level.SEVERE, ex.getMessage() + " initializing " + plugin.getDescription().getFullName() + " (Is it up to date?)", ex);
|
||||
|
|
Loading…
Reference in a new issue