diff --git a/example/com/github/steveice10/mc/protocol/test/MinecraftProtocolTest.java b/example/com/github/steveice10/mc/protocol/test/MinecraftProtocolTest.java index 98f1f119..32dd479f 100644 --- a/example/com/github/steveice10/mc/protocol/test/MinecraftProtocolTest.java +++ b/example/com/github/steveice10/mc/protocol/test/MinecraftProtocolTest.java @@ -3,6 +3,7 @@ package com.github.steveice10.mc.protocol.test; import com.github.steveice10.mc.auth.data.GameProfile; import com.github.steveice10.mc.auth.exception.request.RequestException; import com.github.steveice10.mc.auth.service.AuthenticationService; +import com.github.steveice10.mc.auth.service.MojangAuthenticationService; import com.github.steveice10.mc.auth.service.SessionService; import com.github.steveice10.mc.protocol.MinecraftConstants; import com.github.steveice10.mc.protocol.MinecraftProtocol; @@ -176,7 +177,7 @@ public class MinecraftProtocolTest { MinecraftProtocol protocol = null; if(VERIFY_USERS) { try { - AuthenticationService authService = new AuthenticationService(); + AuthenticationService authService = new MojangAuthenticationService(); authService.setUsername(USERNAME); authService.setPassword(PASSWORD); authService.setProxy(AUTH_PROXY); diff --git a/pom.xml b/pom.xml index c30fbe62..4b0dcb31 100644 --- a/pom.xml +++ b/pom.xml @@ -69,7 +69,7 @@ com.github.steveice10 mcauthlib - 1.4 + 6f3d6aada5 compile