 --- ../src-base/minecraft/net/minecraft/server/dedicated/DedicatedServer.java
 +++ ../src-work/minecraft/net/minecraft/server/dedicated/DedicatedServer.java
-@@ -1,16 +1,17 @@
+@@ -1,16 +1,16 @@
  package net.minecraft.server.dedicated;
  
 -import java.io.BufferedReader;
  import java.io.File;
  import java.io.IOException;
 -import java.io.InputStreamReader;
- import java.net.InetAddress;
+-import java.net.InetAddress;
  import java.net.Proxy;
  import java.util.ArrayList;
  import java.util.Collections;

     }
 
     protected void func_71228_a(CrashReport p_71228_1_) {}
@@ -271,11 +269,11 @@
     }
 
     public boolean func_71255_r() {

-                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()));
-                field_155771_h.info("Preparing level \"" + this.func_71270_I() + "\"");
-                this.func_71247_a(this.func_71270_I(), this.func_71270_I(), k, worldtype, s2);
+                this.func_71191_d(256);
+                NailedEventFactory.fireStartBeforeWorldLoad(this);
+                this.func_71247_a(this.func_71270_I(), this.func_71270_I(), 0, null, null);
                 long i1 = System.nanoTime() - j;
                 String s3 = String.format("%.3fs", new Object[] {Double.valueOf((double)i1 / 1.0E9D)});
                 field_155771_h.info("Done (" + s3 + ")! For help, type \"help\" or \"?\"");
@@ -220,6 +145,8 @@
                     this.field_71339_n.func_72602_a();
                 }
 
