Fixed the onDisable() event of plugins again after it was overwritten some days ago.

This commit is contained in:
Forsaken 2011-02-02 04:37:07 +08:00 committed by Dinner Bone
parent 661f209b7e
commit d228e0c311

View File

@ -163,6 +163,11 @@ public class MinecraftServer implements ICommandListener, Runnable {
private void g() {
a.info("Stopping server");
// CraftBukkit
if(server != null) {
server.disablePlugins();
}
if (this.f != null) {
this.f.d();
}