Fixed plugins being loaded before world.
Dieser Commit ist enthalten in:
Ursprung
687ae0533c
Commit
6a786c1c21
@ -136,6 +136,8 @@ implements ICommandListener, Runnable {
|
|||||||
private void e() {
|
private void e() {
|
||||||
i = null;
|
i = null;
|
||||||
j = 0;
|
j = 0;
|
||||||
|
|
||||||
|
server.loadPlugins();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void f() {
|
private void f() {
|
||||||
|
@ -26,7 +26,9 @@ public final class CraftServer implements Server {
|
|||||||
this.server = server;
|
this.server = server;
|
||||||
|
|
||||||
pluginManager.RegisterInterface(JavaPluginLoader.class);
|
pluginManager.RegisterInterface(JavaPluginLoader.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void loadPlugins() {
|
||||||
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