aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gq/malwarefight/tokenapp/Main.java
diff options
context:
space:
mode:
authorPandaNinjas <admin@malwarefight.gq>2023-02-15 20:02:47 -0800
committerPandaNinjas <admin@malwarefight.gq>2023-02-15 20:02:47 -0800
commit58dee1d2e9199343243c103bfa253c9563c5ab70 (patch)
treeff01455c643b4487167f05daf93839d0af1fbda0 /src/main/java/gq/malwarefight/tokenapp/Main.java
parent2beca5f91f8da0b16910e7720788eacf385e03db (diff)
downloadNoSession-58dee1d2e9199343243c103bfa253c9563c5ab70.tar.gz
NoSession-58dee1d2e9199343243c103bfa253c9563c5ab70.tar.bz2
NoSession-58dee1d2e9199343243c103bfa253c9563c5ab70.zip
Fix 1.1.0 release
Diffstat (limited to 'src/main/java/gq/malwarefight/tokenapp/Main.java')
-rw-r--r--src/main/java/gq/malwarefight/tokenapp/Main.java1
1 files changed, 1 insertions, 0 deletions
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();