diff options
author | Wesley Wolfe <weswolf@aol.com> | 2012-08-08 06:54:28 -0500 |
---|---|---|
committer | Wesley Wolfe <weswolf@aol.com> | 2012-08-08 07:00:41 -0500 |
commit | a16e0b6323eb58a58a8b859b3af6891876598da9 (patch) | |
tree | d201ec24ed42823bf5291210c793a84ec32143fd /src/main/java/net/minecraft/server/NetLoginHandler.java | |
parent | 25fe93479f6fdd20a1ea2c22605eed16a7be7075 (diff) | |
download | craftbukkit-a16e0b6323eb58a58a8b859b3af6891876598da9.tar craftbukkit-a16e0b6323eb58a58a8b859b3af6891876598da9.tar.gz craftbukkit-a16e0b6323eb58a58a8b859b3af6891876598da9.tar.lz craftbukkit-a16e0b6323eb58a58a8b859b3af6891876598da9.tar.xz craftbukkit-a16e0b6323eb58a58a8b859b3af6891876598da9.zip |
Change socket traffic class try-catch. Fixes BUKKIT-2093
Diffstat (limited to 'src/main/java/net/minecraft/server/NetLoginHandler.java')
-rw-r--r-- | src/main/java/net/minecraft/server/NetLoginHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/NetLoginHandler.java b/src/main/java/net/minecraft/server/NetLoginHandler.java index fc4c8c66..7c201a84 100644 --- a/src/main/java/net/minecraft/server/NetLoginHandler.java +++ b/src/main/java/net/minecraft/server/NetLoginHandler.java @@ -24,7 +24,7 @@ public class NetLoginHandler extends NetHandler { private SecretKey k = null; public String hostname = ""; // CraftBukkit - add field - public NetLoginHandler(MinecraftServer minecraftserver, Socket socket, String s) { + public NetLoginHandler(MinecraftServer minecraftserver, Socket socket, String s) throws java.io.IOException { // CraftBukkit - throws IOException this.server = minecraftserver; this.networkManager = new NetworkManager(socket, s, this, minecraftserver.E().getPrivate()); this.networkManager.e = 0; |