diff options
author | syeyoung <cyong06@naver.com> | 2021-03-24 20:54:09 +0900 |
---|---|---|
committer | syeyoung <cyong06@naver.com> | 2021-03-24 20:54:09 +0900 |
commit | 51588fa8f845e0d6b1b420d1546d820850e3e0f5 (patch) | |
tree | 2c602e699bf6981790f1cbd5fada25b54f59233f /src/main/java | |
parent | 7ef6b91f1e82cb29be0a542f0cf2339123e66bf9 (diff) | |
download | Skyblock-Dungeons-Guide-51588fa8f845e0d6b1b420d1546d820850e3e0f5.tar.gz Skyblock-Dungeons-Guide-51588fa8f845e0d6b1b420d1546d820850e3e0f5.tar.bz2 Skyblock-Dungeons-Guide-51588fa8f845e0d6b1b420d1546d820850e3e0f5.zip |
ability to change versions :)
Diffstat (limited to 'src/main/java')
-rwxr-xr-x | src/main/java/kr/syeyoung/dungeonsguide/a.java | 2 | ||||
-rwxr-xr-x | src/main/java/kr/syeyoung/dungeonsguide/b.java | 7 |
2 files changed, 1 insertions, 8 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/a.java b/src/main/java/kr/syeyoung/dungeonsguide/a.java index 0a93da76..2fc4bb4d 100755 --- a/src/main/java/kr/syeyoung/dungeonsguide/a.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/a.java @@ -48,7 +48,7 @@ public class a b b = new b(f); String c = null; try { - c = b.b(this.getClass().getResourceAsStream("/kr/syeyoung/dungeonsguide/e.class") == null ? "latest" : null); + c = b.b(this.getClass().getResourceAsStream("/kr/syeyoung/dungeonsguide/e.class") == null ? System.getProperty("dg.version") == null ? "latest" : System.getProperty("dg.version") : null); if (c != null) { this.a = this; URL.setURLStreamHandlerFactory(new c(b)); diff --git a/src/main/java/kr/syeyoung/dungeonsguide/b.java b/src/main/java/kr/syeyoung/dungeonsguide/b.java index 2a52958c..9e350d69 100755 --- a/src/main/java/kr/syeyoung/dungeonsguide/b.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/b.java @@ -6,9 +6,6 @@ import com.google.gson.JsonParser; import com.mojang.authlib.GameProfile; import com.mojang.authlib.exceptions.AuthenticationException; import com.mojang.authlib.minecraft.MinecraftSessionService; -import com.sun.xml.internal.messaging.saaj.util.ByteInputStream; -import com.sun.xml.internal.messaging.saaj.util.ByteOutputStream; -import lombok.Getter; import net.minecraft.client.Minecraft; import net.minecraft.util.Session; import net.minecraftforge.fml.common.ProgressManager; @@ -18,15 +15,11 @@ import javax.crypto.*; import javax.crypto.spec.IvParameterSpec; import javax.crypto.spec.SecretKeySpec; import javax.net.ssl.*; -import javax.xml.bind.DatatypeConverter; import java.io.*; import java.math.BigInteger; import java.net.*; import java.security.*; import java.security.cert.CertificateException; -import java.security.cert.CertificateFactory; -import java.security.cert.X509Certificate; -import java.security.interfaces.RSAPublicKey; import java.security.spec.InvalidKeySpecException; import java.security.spec.X509EncodedKeySpec; import java.util.HashMap; |