summaryrefslogtreecommitdiffstats
path: root/src/main/java/net
diff options
context:
space:
mode:
authorDinnerbone <dinnerbone@dinnerbone.com>2011-06-22 17:46:12 +0100
committerDinnerbone <dinnerbone@dinnerbone.com>2011-06-22 18:27:51 +0100
commitd647e2098eb48c51fff9d200be1d71b94b2ade6b (patch)
tree19c6f5714accd8e9f3a8a831b26c1af6338e0a2a /src/main/java/net
parentff67eda4c4d1018dd956010918645cecd35c2854 (diff)
downloadcraftbukkit-d647e2098eb48c51fff9d200be1d71b94b2ade6b.tar
craftbukkit-d647e2098eb48c51fff9d200be1d71b94b2ade6b.tar.gz
craftbukkit-d647e2098eb48c51fff9d200be1d71b94b2ade6b.tar.lz
craftbukkit-d647e2098eb48c51fff9d200be1d71b94b2ade6b.tar.xz
craftbukkit-d647e2098eb48c51fff9d200be1d71b94b2ade6b.zip
Implemented startup plugin loading
Diffstat (limited to 'src/main/java/net')
-rw-r--r--src/main/java/net/minecraft/server/MinecraftServer.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
index 549e337c..81e36680 100644
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
@@ -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