35 lines
1.2 KiB
Diff
35 lines
1.2 KiB
Diff
--- ../src-base/common/net/minecraft/src/DedicatedServer.java
|
|
+++ ../src-work/common/net/minecraft/src/DedicatedServer.java
|
|
@@ -1,5 +1,6 @@
|
|
package net.minecraft.src;
|
|
|
|
+import cpw.mods.fml.common.FMLCommonHandler;
|
|
import cpw.mods.fml.common.Side;
|
|
import cpw.mods.fml.common.asm.SideOnly;
|
|
import java.io.File;
|
|
@@ -42,6 +43,8 @@
|
|
field_71306_a.warning("To start the server with more ram, launch it as \"java -Xmx1024M -Xms1024M -jar minecraft_server.jar\"");
|
|
}
|
|
|
|
+ FMLCommonHandler.instance().onServerStart(this);
|
|
+
|
|
field_71306_a.info("Loading properties");
|
|
this.field_71340_o = new PropertyManager(new File("server.properties"));
|
|
|
|
@@ -101,6 +104,7 @@
|
|
field_71306_a.warning("To change this, set \"online-mode\" to \"true\" in the server.properties file.");
|
|
}
|
|
|
|
+ FMLCommonHandler.instance().onServerStarted();
|
|
this.func_71210_a(new DedicatedPlayerList(this));
|
|
long var4 = System.nanoTime();
|
|
|
|
@@ -160,7 +164,7 @@
|
|
this.field_71339_n = new RConThreadMain(this);
|
|
this.field_71339_n.func_72602_a();
|
|
}
|
|
-
|
|
+ FMLCommonHandler.instance().handleServerStarting(this);
|
|
return true;
|
|
}
|
|
|