We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 286de7c commit 1f60856Copy full SHA for 1f60856
src/main/java/com/elyssiamc/Micc/JavaMee6APIWrapper/DataStructures/SimpleAPICache.java
@@ -43,6 +43,7 @@ public MeeResponse getJson() throws IOException {
43
httpcon.setDoOutput(true);
44
httpcon.addRequestProperty("User-Agent", "Mozilla/5.0 (Windows NT 6.1; Win64; x64)");
45
httpcon.setRequestMethod("GET");
46
+ httpcon.setConnectTimeout(5000);
47
httpcon.connect();
48
49
//Read response
src/main/java/com/elyssiamc/Micc/JavaMee6APIWrapper/Mee6API.java
@@ -16,7 +16,7 @@ public class Mee6API {
16
public Mee6API(String serverid) {
17
this.serverid = serverid;
18
mee = new SimpleAPICache(
19
- "https://api.mee6.xyz/plugins/levels/leaderboard/" +
+ "https://mee6.xyz/api/plugins/levels/leaderboard/" +
20
serverid, 1000, 300000);
21
}
22
0 commit comments