Split the packet salutation in two so we can work with or without forge

This commit is contained in:
Christian Weeks committed 2012-04-08 00:18:37 -04:00
1 parent 93664d10e6
commit 2ff2a78694
3 files changed
+15 -13

No files matched your search

@@ -9,12 +9,13 @@
import net.minecraft.server.MinecraftServer;
public class NetLoginHandler extends NetHandler
@@ -132,6 +134,8 @@
@@ -132,6 +134,9 @@
}
var2.func_20057_k();
+
+ FMLServerHandler.instance().handleLogin(p_6007_1_, field_8_b, var2);
+ FMLServerHandler.instance().handleLogin(p_6007_1_, field_8_b);
+ FMLServerHandler.instance().announceLogin(var2);
}
this.field_7_c = true;