Update FML, server should run now. Still issue with NPE with no mods installed.

This commit is contained in:
LexManos 2012-08-11 11:16:37 -07:00
parent ba55320462
commit 97aae96754
3 changed files with 2 additions and 2042 deletions

View file

@ -16,13 +16,13 @@
long var1 = Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory();
System.gc();
this.displayStrings[0] = "Memory use: " + var1 / 1024L / 1024L + " mb (" + Runtime.getRuntime().freeMemory() * 100L / Runtime.getRuntime().maxMemory() + "% free)";
@@ -52,14 +54,18 @@
@@ -52,14 +54,17 @@
if (this.field_79017_e.theWorldServer != null)
{
- for (int var3 = 0; var3 < this.field_79017_e.theWorldServer.length; ++var3)
+ int x = 0;
+ for (Integer id : DimensionManager.getIDs())
for (int var3 = 0; var3 < this.field_79017_e.theWorldServer.length; ++var3)
{
- this.displayStrings[5 + var3] = "Lvl " + var3 + " tick: " + field_79020_a.format(this.func_79015_a(this.field_79017_e.timeOfLastDimenstionTick[var3]) * 1.0E-6D) + " ms";
+ this.displayStrings[5 + x] = "Lvl " + id + " tick: " + field_79020_a.format(this.func_79015_a(this.field_79017_e.worldTickTimes.get(id)) * 1.0E-6D) + " ms";