Remove MojangUtils debug, it appears to be fine now
This commit is contained in:
parent
6eeb153413
commit
e9da784953
@ -17,7 +17,6 @@ public class MojangUtils {
|
|||||||
private static final HttpClient httpsClient = APIv3.getVertxInstance().createHttpClient(new HttpClientOptions().setSsl(true).setTrustAll(true));
|
private static final HttpClient httpsClient = APIv3.getVertxInstance().createHttpClient(new HttpClientOptions().setSsl(true).setTrustAll(true));
|
||||||
|
|
||||||
public static void getName(UUID id, SingleResultCallback<String> callback) {
|
public static void getName(UUID id, SingleResultCallback<String> callback) {
|
||||||
System.out.println("sessionserver.mojang.com/session/minecraft/profile/" + id.toString().replace("-", ""));
|
|
||||||
httpsClient.get(443, "sessionserver.mojang.com", "/session/minecraft/profile/" + id.toString().replace("-", ""), (response) -> {
|
httpsClient.get(443, "sessionserver.mojang.com", "/session/minecraft/profile/" + id.toString().replace("-", ""), (response) -> {
|
||||||
response.bodyHandler((body) -> {
|
response.bodyHandler((body) -> {
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user