mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 15:20:21 +01:00
Added plugin loading log entry
By: EdGruberman <ed@rjump.com>
This commit is contained in:
parent
628f916af8
commit
3487d1e709
@ -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 New Issue
Block a user