From 90625bc19686431f6ef6f3a92af0459ab9aa96c7 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 3 Nov 2013 17:15:44 +1100 Subject: [PATCH] Remove test code --- .../main/java/net/md_5/bungee/connection/InitialHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java index d9065aeb..3864ce72 100644 --- a/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java +++ b/proxy/src/main/java/net/md_5/bungee/connection/InitialHandler.java @@ -289,7 +289,7 @@ public class InitialHandler extends PacketHandler implements PendingConnection } String encodedHash = URLEncoder.encode( new BigInteger( sha.digest() ).toString( 16 ), "UTF-8" ); - String authURL = "https://sessionserver.mojang.com/session/minecraft/hasJoined?usernamea=" + encName + "&serverId=" + encodedHash; + String authURL = "https://sessionserver.mojang.com/session/minecraft/hasJoined?username=" + encName + "&serverId=" + encodedHash; Callback handler = new Callback() {