mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-12-04 21:01:02 -05:00
Update to latest MCAuthLib commit.
This commit is contained in:
parent
e09374ad9f
commit
270261ba2d
2 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue