mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 08:31:32 +01:00
better
This commit is contained in:
parent
9a8573621a
commit
27f5e1082c
@ -367,8 +367,8 @@ public class Client {
|
|||||||
public void shutdown() {
|
public void shutdown() {
|
||||||
logger.info("---------[ Silent Client Stopping ]--------------");
|
logger.info("---------[ Silent Client Stopping ]--------------");
|
||||||
logger.info("STOPPING > silent-socket");
|
logger.info("STOPPING > silent-socket");
|
||||||
Players.unregister();
|
|
||||||
skillIssue.sendDetections();
|
skillIssue.sendDetections();
|
||||||
|
Players.unregister();
|
||||||
logger.info("-------------------------------------------------");
|
logger.info("-------------------------------------------------");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
package net.silentclient.client.skillissue;
|
package net.silentclient.client.skillissue;
|
||||||
|
|
||||||
|
import net.minecraft.client.Minecraft;
|
||||||
import net.silentclient.client.Client;
|
import net.silentclient.client.Client;
|
||||||
import net.silentclient.client.event.EventManager;
|
import net.silentclient.client.event.EventManager;
|
||||||
import net.silentclient.client.event.EventTarget;
|
import net.silentclient.client.event.EventTarget;
|
||||||
@ -47,6 +48,10 @@ public class SkillIssue {
|
|||||||
JSONObject jsonObject = new JSONObject().put("detects", jsonArray);
|
JSONObject jsonObject = new JSONObject().put("detects", jsonArray);
|
||||||
|
|
||||||
Requests.post("https://api.silentclient.net/anticheat/detect", jsonObject.toString());
|
Requests.post("https://api.silentclient.net/anticheat/detect", jsonObject.toString());
|
||||||
|
|
||||||
|
if(Minecraft.getMinecraft().theWorld != null) {
|
||||||
|
Client.getInstance().updateUserInformation();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public ArrayList<Detection> getDetections() {
|
public ArrayList<Detection> getDetections() {
|
||||||
|
Loading…
Reference in New Issue
Block a user