diff options
author | Stephen <stephen@jazer.com> | 2011-03-07 13:58:19 -0500 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-03-29 21:32:24 +0100 |
commit | a31f37262d207f52b99476ce1420c119a8031c00 (patch) | |
tree | 7f339b37f8c947658474a278169f468c51a005d1 /src | |
parent | 2ac43ce2232d0c9b95276ee48ac6f21340a90323 (diff) | |
download | craftbukkit-a31f37262d207f52b99476ce1420c119a8031c00.tar craftbukkit-a31f37262d207f52b99476ce1420c119a8031c00.tar.gz craftbukkit-a31f37262d207f52b99476ce1420c119a8031c00.tar.lz craftbukkit-a31f37262d207f52b99476ce1420c119a8031c00.tar.xz craftbukkit-a31f37262d207f52b99476ce1420c119a8031c00.zip |
RegisterInterface reload bug fix
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/CraftServer.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index 089bd50f..e8c035be 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()) { |