aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/torui/coflsky/minecraft_integration
diff options
context:
space:
mode:
authorAbhiram555 <63419731+abhithedev200@users.noreply.github.com>2023-01-26 21:34:15 +0530
committerGitHub <noreply@github.com>2023-01-26 17:04:15 +0100
commit19f6d6eacf3df61c3079d342482df3ae4a2c3e15 (patch)
tree30c8c309e46ecfc9d96d505322523178a53c1549 /src/main/java/de/torui/coflsky/minecraft_integration
parent7cfe4c326b668683cccc9c250d58b7ef9c3e9083 (diff)
downloadCOFL-19f6d6eacf3df61c3079d342482df3ae4a2c3e15.tar.gz
COFL-19f6d6eacf3df61c3079d342482df3ae4a2c3e15.tar.bz2
COFL-19f6d6eacf3df61c3079d342482df3ae4a2c3e15.zip
Add Proxy support to the cofl mod (#85)
* Implement basic proxy functionality * Finish the api key management * Finished the hypixel api key support * Fixed a check, for some reason intelij didn't update my code * Only upload request if the upload is enabled, else just do the request Co-authored-by: Äkwav <16632490+Ekwav@users.noreply.github.com> Co-authored-by: Äkwav <16632490+Ekwav@users.noreply.github.com>
Diffstat (limited to 'src/main/java/de/torui/coflsky/minecraft_integration')
-rw-r--r--src/main/java/de/torui/coflsky/minecraft_integration/CoflSessionManager.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/de/torui/coflsky/minecraft_integration/CoflSessionManager.java b/src/main/java/de/torui/coflsky/minecraft_integration/CoflSessionManager.java
index 26db791..cab0c15 100644
--- a/src/main/java/de/torui/coflsky/minecraft_integration/CoflSessionManager.java
+++ b/src/main/java/de/torui/coflsky/minecraft_integration/CoflSessionManager.java
@@ -95,6 +95,7 @@ public class CoflSessionManager {
private static Path GetUserPath(String username) {
return Paths.get(GetTempFileFolder().toString() + "/" + username);
}
+
public static void DeleteCoflSession(String username) {
Path path =GetUserPath(username);
path.toFile().delete();