From a31f37262d207f52b99476ce1420c119a8031c00 Mon Sep 17 00:00:00 2001 From: Stephen Date: Mon, 7 Mar 2011 13:58:19 -0500 Subject: [PATCH] RegisterInterface reload bug fix --- src/main/java/org/bukkit/craftbukkit/CraftServer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index 089bd50fd0..e8c035be4e 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -49,11 +49,12 @@ public final class CraftServer implements Server { this.server = server; this.serverVersion = CraftServer.class.getPackage().getImplementationVersion(); - pluginManager.registerInterface(JavaPluginLoader.class); Logger.getLogger("Minecraft").log(Level.INFO, "This server is running " + getName() + " version " + getVersion()); } public void loadPlugins() { + pluginManager.registerInterface(JavaPluginLoader.class); + File pluginFolder = (File)console.options.valueOf("plugins"); if (pluginFolder.exists()) {