mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-16 06:30:46 +01:00
Fixed plugins being loaded before world.
By: FrozenCow <frozencow@gmail.com>
This commit is contained in:
parent
dca17e2555
commit
87ab5dc0f8
1 changed files with 3 additions and 1 deletions
|
@ -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()) {
|
||||||
|
|
Loading…
Reference in a new issue