Implemented startup plugin loading

This commit is contained in:
Dinnerbone
2011-06-22 17:46:12 +01:00
parent ff67eda4c4
commit d647e2098e
2 changed files with 22 additions and 14 deletions

View File

@@ -25,6 +25,7 @@ import org.bukkit.craftbukkit.command.ColouredConsoleSender;
import org.bukkit.craftbukkit.scheduler.CraftScheduler;
import org.bukkit.craftbukkit.util.ServerShutdownThread;
import org.bukkit.event.world.WorldSaveEvent;
import org.bukkit.plugin.PluginLoadOrder;
// CraftBukkit
public class MinecraftServer implements Runnable, ICommandListener {
@@ -263,7 +264,7 @@ public class MinecraftServer implements Runnable, ICommandListener {
this.i = null;
this.j = 0;
server.loadPlugins(); // CraftBukkit
server.enablePlugins(PluginLoadOrder.POSTWORLD);
}
void saveChunks() { // CraftBukkit - private -> default