mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-17 04:51:36 +01:00
Fixed plugins being loaded before world.
This commit is contained in:
parent
687ae0533c
commit
6a786c1c21
@ -136,6 +136,8 @@ implements ICommandListener, Runnable {
|
||||
private void e() {
|
||||
i = null;
|
||||
j = 0;
|
||||
|
||||
server.loadPlugins();
|
||||
}
|
||||
|
||||
private void f() {
|
||||
|
@ -26,7 +26,9 @@ public final class CraftServer implements Server {
|
||||
this.server = server;
|
||||
|
||||
pluginManager.RegisterInterface(JavaPluginLoader.class);
|
||||
|
||||
}
|
||||
|
||||
public void loadPlugins() {
|
||||
File pluginFolder = (File)console.options.valueOf("plugins");
|
||||
|
||||
if (pluginFolder.exists()) {
|
||||
|
Loading…
Reference in New Issue
Block a user