From 397f25aa247cafd7f5cd20ba50323babc6afaf33 Mon Sep 17 00:00:00 2001 From: EdGruberman Date: Wed, 15 Feb 2012 12:56:36 -0700 Subject: [PATCH] Added plugin loading log entry --- src/main/java/org/bukkit/craftbukkit/CraftServer.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index a855d57646..413e1a746a 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -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);