RegisterInterface reload bug fix
Dieser Commit ist enthalten in:
Ursprung
2ac43ce223
Commit
a31f37262d
@ -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()) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren