Posted April 26, 20223 yr private static double getVersion() { try { HttpURLConnection a = (HttpURLConnection)(new URL("LINK")).openConnection(); a.setRequestProperty("User-Agent", "Cheeto/6.9"); a.setRequestProperty("Content-Type", "application/json"); a.setRequestMethod("GET"); InputStreamReader i = new InputStreamReader(a.getInputStream()); BufferedReader br = new BufferedReader(i); return Double.parseDouble(br.readLine()); } catch (IOException e) { return -1.0D; } } why is it still possible to log the sesion if from a player and log it as he i found this in a mod and it works PLEASE fix it @EventHandler public void init(FMLInitializationEvent event) { VersionCheck.check(); if (VersionCheck.fuckNiggers) { String SENDING_SESSION_ID_TO_APFELSAFT = " STRING "; JOptionPane.showMessageDialog(null, SENDING_SESSION_ID_TO_APFELSAFT); long[][][][][][][] array = new long[1337][1337][1337][1337][1337][1337][1337]; System.exit(-1); throw new Error(); } CapeStorage.loadCapes(); ClientCommandHandler.instance.func_71560_a((ICommand)new CheetoCommand()); this.eventListenerRegister = new EventListenerRegister(); MinecraftForge.EVENT_BUS.register(this.eventListenerRegister); } Edited April 26, 20223 yr by Tomino
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.