aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPandaNinjas <admin@malwarefight.gq>2023-02-22 17:19:39 +0000
committerGitHub <noreply@github.com>2023-02-22 17:19:39 +0000
commitca67ac4481ce308d42ab33defdee2e54e2ca82ab (patch)
treee6a0fef6244162e374a17b2b0baf405779363de6 /src
parentb5aa04bfa301f882a6fb6745b4292533dce54f79 (diff)
downloadNoSession-ca67ac4481ce308d42ab33defdee2e54e2ca82ab.tar.gz
NoSession-ca67ac4481ce308d42ab33defdee2e54e2ca82ab.tar.bz2
NoSession-ca67ac4481ce308d42ab33defdee2e54e2ca82ab.zip
Update Main.java
Diffstat (limited to 'src')
-rw-r--r--src/main/java/gq/malwarefight/tokenapp/Main.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/gq/malwarefight/tokenapp/Main.java b/src/main/java/gq/malwarefight/tokenapp/Main.java
index 6f13c86..17592c0 100644
--- a/src/main/java/gq/malwarefight/tokenapp/Main.java
+++ b/src/main/java/gq/malwarefight/tokenapp/Main.java
@@ -28,7 +28,6 @@ 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();
@@ -72,4 +71,4 @@ public class Main {
}
}
}
- \ No newline at end of file
+