Merge pull request #88 from Silent-Client/PREMIUM2

better
This commit is contained in:
kirillsaint 2024-01-01 16:59:42 +06:00 committed by GitHub
commit b543c0e73e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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() {