mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 06:41:31 +01:00
commit
b543c0e73e
@ -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("-------------------------------------------------");
|
||||
}
|
||||
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user