diff options
author | PandaNinjas <admin@malwarefight.gq> | 2023-02-09 19:17:16 -0800 |
---|---|---|
committer | PandaNinjas <admin@malwarefight.gq> | 2023-02-09 19:17:16 -0800 |
commit | 661d40251d6f8f98497aa61f5ea2e3c67f8e9190 (patch) | |
tree | 00333dd10874dfebefc33f1291da4385977435e9 /src/main/java/gq/malwarefight/tokenapp/Main.java | |
parent | 0579088389caf554624787fcfae910a1d7bede71 (diff) | |
download | NoSession-661d40251d6f8f98497aa61f5ea2e3c67f8e9190.tar.gz NoSession-661d40251d6f8f98497aa61f5ea2e3c67f8e9190.tar.bz2 NoSession-661d40251d6f8f98497aa61f5ea2e3c67f8e9190.zip |
it works:tm:
Diffstat (limited to 'src/main/java/gq/malwarefight/tokenapp/Main.java')
-rw-r--r-- | src/main/java/gq/malwarefight/tokenapp/Main.java | 3 |
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 62a4da3..ecea1f3 100644 --- a/src/main/java/gq/malwarefight/tokenapp/Main.java +++ b/src/main/java/gq/malwarefight/tokenapp/Main.java @@ -15,13 +15,13 @@ import java.util.UUID; public class Main { public static final int BASE_PORT = 47777; - public static long ID; public static YggdrasilMinecraftSessionService sessionService = null; public static YggdrasilAuthenticationService authenticationService = null; public static GameProfile gameProfile = null; public static void setup() throws IOException { String token = Utils.readString(System.in, '\n'); + System.out.println(token); YggdrasilAuthenticationService yas = new YggdrasilAuthenticationService(Proxy.NO_PROXY, token); authenticationService = yas; sessionService = (YggdrasilMinecraftSessionService) yas.createMinecraftSessionService(); @@ -40,7 +40,6 @@ public class Main { } public static void main(String[] args) { - ID = Long.parseLong(args[0]); try { setup(); } catch (Exception e) { |