aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/utils
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-05-04 13:13:43 +0900
committersyeyoung <cyong06@naver.com>2021-05-04 13:13:43 +0900
commiteaecce86d73dd6810168f418c36155422f67addc (patch)
tree4d71113c2ba6834ad1b72cc09f59a2dc014edc87 /src/main/java/kr/syeyoung/dungeonsguide/utils
parentcaf765b632ce859861bce5e2018a31a93ce7695c (diff)
downloadSkyblock-Dungeons-Guide-eaecce86d73dd6810168f418c36155422f67addc.tar.gz
Skyblock-Dungeons-Guide-eaecce86d73dd6810168f418c36155422f67addc.tar.bz2
Skyblock-Dungeons-Guide-eaecce86d73dd6810168f418c36155422f67addc.zip
deobfuscate
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/utils')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/utils/AhUtils.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/utils/AhUtils.java b/src/main/java/kr/syeyoung/dungeonsguide/utils/AhUtils.java
index 6bc57c2a..049f8a0d 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/utils/AhUtils.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/utils/AhUtils.java
@@ -18,7 +18,6 @@
package kr.syeyoung.dungeonsguide.utils;
-import java.io.IOException;
import java.security.*;
import java.security.cert.CertificateException;
import java.util.HashMap;
@@ -26,7 +25,7 @@ import java.util.Map;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
-import kr.syeyoung.dungeonsguide.e;
+import kr.syeyoung.dungeonsguide.DungeonsGuide;
import javax.crypto.BadPaddingException;
import javax.crypto.IllegalBlockSizeException;
@@ -57,7 +56,7 @@ public class AhUtils {
try {
Map<String, AuctionData> semi_auctions = new HashMap<String, AuctionData>();
- JsonElement object = e.getDungeonsGuide().getAuthenticator().d("https://dungeons.guide/resource/keys");
+ JsonElement object = DungeonsGuide.getDungeonsGuide().getAuthenticator().getJsonSecured("https://dungeons.guide/resource/keys");
for (JsonElement element : object.getAsJsonArray()) {
JsonObject object1 = element.getAsJsonObject();
AuctionData auctionData = new AuctionData(object1.get("id").getAsString());