mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 12:20:11 +00:00
A lot of patches went in - the client and server both launch and start up mods.
31 lines
1014 B
Diff
31 lines
1014 B
Diff
--- ../src-base/minecraft/net/minecraft/server/MinecraftServer.java
|
|
+++ ../src-work/minecraft/net/minecraft/server/MinecraftServer.java
|
|
@@ -11,6 +11,8 @@
|
|
import java.util.List;
|
|
import java.util.logging.Level;
|
|
import java.util.logging.Logger;
|
|
+
|
|
+import cpw.mods.fml.common.FMLCommonHandler;
|
|
import net.minecraft.src.AnvilSaveConverter;
|
|
import net.minecraft.src.AxisAlignedBB;
|
|
import net.minecraft.src.CallableIsServerModded;
|
|
@@ -354,8 +356,10 @@
|
|
{
|
|
try
|
|
{
|
|
+ FMLCommonHandler.instance().handleServerStarting(this);
|
|
if (this.func_71197_b())
|
|
{
|
|
+ FMLCommonHandler.instance().handleServerStarted();
|
|
long var1 = System.currentTimeMillis();
|
|
|
|
for (long var50 = 0L; this.field_71317_u; this.field_71296_Q = true)
|
|
@@ -395,6 +399,7 @@
|
|
|
|
Thread.sleep(1L);
|
|
}
|
|
+ FMLCommonHandler.instance().handleServerStopping();
|
|
}
|
|
else
|
|
{
|