Add in missing patch - also, launch FML properly from the server

This commit is contained in:
Christian committed 2012-08-09 09:21:16 -04:00
1 parent 6d0f7ace17
commit 6eb4bceee3
6 files changed
+86 -1

No files matched your search

@@ -0,0 +1,25 @@
--- ../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;
@@ -36,6 +37,7 @@
var1.start();
ConsoleLogManager.func_73699_a();
field_71306_a.info("Starting minecraft server version 1.3.1");
+ FMLCommonHandler.instance().onServerStart(this);
if (Runtime.getRuntime().maxMemory() / 1024L / 1024L < 512L)
{
@@ -101,6 +103,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();