Added pre-login event for catching logins right after name verification has completed. This happens in a different thread from the server (and thus can also block).

This commit is contained in:
sk89q
2011-04-16 03:08:13 -07:00
parent dc6c906e1a
commit 8aa376fc27
3 changed files with 59 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ public class NetworkManager {
public static int b;
public static int c;
private Object e = new Object();
private Socket f;
public Socket f; // CraftBukkit private->public
private final SocketAddress g;
private DataInputStream h;
private DataOutputStream i;