mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-11 02:02:04 -07:00
Fixed plugins being loaded before world.
This commit is contained in:
@@ -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()) {
|
||||
|
Reference in New Issue
Block a user