mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-16 18:45:09 +00:00
Remember to add the new patches!
This commit is contained in:
1 parent
cd67596d57
commit
8921cfe061
2 files changed
+19
-7
No files matched your search
@@ -25,12 +25,20 @@
|
|||||||
|
|
||||||
this.func_71210_a(new DedicatedPlayerList(this));
|
this.func_71210_a(new DedicatedPlayerList(this));
|
||||||
long var4 = System.nanoTime();
|
long var4 = System.nanoTime();
|
||||||
@@ -187,6 +192,8 @@
|
@@ -167,6 +172,7 @@
|
||||||
|
this.func_71191_d((this.func_71207_Z() + 8) / 16 * 16);
|
||||||
|
this.func_71191_d(MathHelper.func_76125_a(this.func_71207_Z(), 64, 256));
|
||||||
|
this.field_71340_o.func_73667_a("max-build-height", Integer.valueOf(this.func_71207_Z()));
|
||||||
|
+ if (!FMLCommonHandler.instance().handleServerAboutToStart(this)) { return false; }
|
||||||
|
field_71306_a.info("Preparing level \"" + this.func_71270_I() + "\"");
|
||||||
|
this.func_71247_a(this.func_71270_I(), this.func_71270_I(), var9, var17, var8);
|
||||||
|
long var12 = System.nanoTime() - var4;
|
||||||
|
@@ -187,7 +193,7 @@
|
||||||
this.field_71339_n.func_72602_a();
|
this.field_71339_n.func_72602_a();
|
||||||
}
|
}
|
||||||
|
|
||||||
+ FMLCommonHandler.instance().handleServerStarting(this);
|
- return true;
|
||||||
+
|
+ return FMLCommonHandler.instance().handleServerStarting(this);
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean func_71225_e()
|
||||||
@@ -7,11 +7,15 @@
|
|||||||
import cpw.mods.fml.relauncher.Side;
|
import cpw.mods.fml.relauncher.Side;
|
||||||
import cpw.mods.fml.relauncher.SideOnly;
|
import cpw.mods.fml.relauncher.SideOnly;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
@@ -110,6 +111,7 @@
|
@@ -108,9 +109,10 @@
|
||||||
|
this.func_71245_h(true);
|
||||||
|
field_71306_a.info("Generating keypair");
|
||||||
this.func_71253_a(CryptManager.func_75891_b());
|
this.func_71253_a(CryptManager.func_75891_b());
|
||||||
|
+ if (!FMLCommonHandler.instance().handleServerAboutToStart(this)) { return false; }
|
||||||
this.func_71247_a(this.func_71270_I(), this.func_71221_J(), this.field_71350_m.func_77160_d(), this.field_71350_m.func_77165_h(), this.field_71350_m.func_82749_j());
|
this.func_71247_a(this.func_71270_I(), this.func_71221_J(), this.field_71350_m.func_77160_d(), this.field_71350_m.func_77165_h(), this.field_71350_m.func_82749_j());
|
||||||
this.func_71205_p(this.func_71214_G() + " - " + this.field_71305_c[0].func_72912_H().func_76065_j());
|
this.func_71205_p(this.func_71214_G() + " - " + this.field_71305_c[0].func_72912_H().func_76065_j());
|
||||||
+ FMLCommonHandler.instance().handleServerStarting(this);
|
- return true;
|
||||||
return true;
|
+ return FMLCommonHandler.instance().handleServerStarting(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void func_71217_p()
|
||||||
Reference in new issue
Block a user