Update to latest MCAuthLib commit.

This commit is contained in:
Steveice10 2021-09-06 15:05:31 -07:00
parent e09374ad9f
commit 270261ba2d
2 changed files with 3 additions and 2 deletions

View file

@ -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.data.GameProfile;
import com.github.steveice10.mc.auth.exception.request.RequestException; import com.github.steveice10.mc.auth.exception.request.RequestException;
import com.github.steveice10.mc.auth.service.AuthenticationService; 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.auth.service.SessionService;
import com.github.steveice10.mc.protocol.MinecraftConstants; import com.github.steveice10.mc.protocol.MinecraftConstants;
import com.github.steveice10.mc.protocol.MinecraftProtocol; import com.github.steveice10.mc.protocol.MinecraftProtocol;
@ -176,7 +177,7 @@ public class MinecraftProtocolTest {
MinecraftProtocol protocol = null; MinecraftProtocol protocol = null;
if(VERIFY_USERS) { if(VERIFY_USERS) {
try { try {
AuthenticationService authService = new AuthenticationService(); AuthenticationService authService = new MojangAuthenticationService();
authService.setUsername(USERNAME); authService.setUsername(USERNAME);
authService.setPassword(PASSWORD); authService.setPassword(PASSWORD);
authService.setProxy(AUTH_PROXY); authService.setProxy(AUTH_PROXY);

View file

@ -69,7 +69,7 @@
<dependency> <dependency>
<groupId>com.github.steveice10</groupId> <groupId>com.github.steveice10</groupId>
<artifactId>mcauthlib</artifactId> <artifactId>mcauthlib</artifactId>
<version>1.4</version> <version>6f3d6aada5</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>