13
0
geforkt von Mirrors/Paper

RegisterInterface reload bug fix

By: Stephen <stephen@jazer.com>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2011-03-07 13:58:19 -05:00
Ursprung 44f7dca0de
Commit eb1386fbbb

Datei anzeigen

@ -49,11 +49,12 @@ public final class CraftServer implements Server {
this.server = server; this.server = server;
this.serverVersion = CraftServer.class.getPackage().getImplementationVersion(); this.serverVersion = CraftServer.class.getPackage().getImplementationVersion();
pluginManager.registerInterface(JavaPluginLoader.class);
Logger.getLogger("Minecraft").log(Level.INFO, "This server is running " + getName() + " version " + getVersion()); Logger.getLogger("Minecraft").log(Level.INFO, "This server is running " + getName() + " version " + getVersion());
} }
public void loadPlugins() { public void loadPlugins() {
pluginManager.registerInterface(JavaPluginLoader.class);
File pluginFolder = (File)console.options.valueOf("plugins"); File pluginFolder = (File)console.options.valueOf("plugins");
if (pluginFolder.exists()) { if (pluginFolder.exists()) {