This commit is contained in:
kirillsaint 2024-01-01 16:59:14 +06:00
parent 9a8573621a
commit 27f5e1082c
2 changed files with 6 additions and 1 deletions

View File

@ -367,8 +367,8 @@ public class Client {
public void shutdown() {
logger.info("---------[ Silent Client Stopping ]--------------");
logger.info("STOPPING > silent-socket");
Players.unregister();
skillIssue.sendDetections();
Players.unregister();
logger.info("-------------------------------------------------");
}

View File

@ -1,5 +1,6 @@
package net.silentclient.client.skillissue;
import net.minecraft.client.Minecraft;
import net.silentclient.client.Client;
import net.silentclient.client.event.EventManager;
import net.silentclient.client.event.EventTarget;
@ -47,6 +48,10 @@ public class SkillIssue {
JSONObject jsonObject = new JSONObject().put("detects", jsonArray);
Requests.post("https://api.silentclient.net/anticheat/detect", jsonObject.toString());
if(Minecraft.getMinecraft().theWorld != null) {
Client.getInstance().updateUserInformation();
}
}
public ArrayList<Detection> getDetections() {