Update SkillIssue.java

This commit is contained in:
kirillsaint 2024-01-01 16:24:25 +06:00
parent eb6513e818
commit 9a8573621a
1 changed files with 3 additions and 0 deletions

View File

@ -41,6 +41,9 @@ public class SkillIssue {
} }
detection.getDetections().clear(); detection.getDetections().clear();
} }
if(jsonArray.isEmpty()) {
return;
}
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());