mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-15 12:02:49 +01:00
Fixed plugins being loaded before world.
This commit is contained in:
parent
687ae0533c
commit
6a786c1c21
2 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue