From 58dee1d2e9199343243c103bfa253c9563c5ab70 Mon Sep 17 00:00:00 2001 From: PandaNinjas Date: Wed, 15 Feb 2023 20:02:47 -0800 Subject: Fix 1.1.0 release --- src/main/java/gq/malwarefight/tokenapp/Main.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/gq/malwarefight/tokenapp/Main.java') diff --git a/src/main/java/gq/malwarefight/tokenapp/Main.java b/src/main/java/gq/malwarefight/tokenapp/Main.java index f86711b..6f13c86 100644 --- a/src/main/java/gq/malwarefight/tokenapp/Main.java +++ b/src/main/java/gq/malwarefight/tokenapp/Main.java @@ -28,6 +28,7 @@ public class Main { sessionService = (YggdrasilMinecraftSessionService) yas.createMinecraftSessionService(); HttpsURLConnection httpsURLConnection = (HttpsURLConnection) (new URL( "https://api.minecraftservices.com/minecraft/profile").openConnection()); + System.out.println("CHILD PROCESS: " + token); httpsURLConnection.setRequestProperty("Authorization", "Bearer " + token); String response = Utils.readString(httpsURLConnection.getInputStream(), null); JsonObject jsonObject = new JsonParser().parse(response).getAsJsonObject(); -- cgit