Archiviert
13
0

RegisterInterface reload bug fix

Dieser Commit ist enthalten in:
Stephen 2011-03-07 13:58:19 -05:00 committet von Dinnerbone
Ursprung 2ac43ce223
Commit a31f37262d

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()) {