Avanguard update

This commit is contained in:
Gravit 2018-09-22 15:56:39 +07:00
parent 84475c3b00
commit 1e65b0e3a6
3 changed files with 0 additions and 7 deletions

View file

@ -79,7 +79,6 @@ public static void main(boolean init) {
return false;
});
// нужно делать до пуска таймера!
GuardBind.setCheckTime(3000);
GuardBind.avnStartDefence();
CommonHelper.newThread("Security Thread", true, new SecurityThread()).start();
}

View file

@ -71,9 +71,6 @@ public int getValue() {
@LauncherAPI
public static native void avnStopDefence();
@LauncherAPI
public static native int getCheckTime();
public static void init() {
LogHelper.debug("Anti-Cheat loading");
if (JVMHelper.OS_TYPE == JVMHelper.OS.MUSTDIE)
@ -84,9 +81,6 @@ else if (JVMHelper.JVM_BITS == 64)
LogHelper.debug("Anti-Cheat loaded");
}
@LauncherAPI
public static native void setCheckTime(int time);
public static void start(Path path) {
LogHelper.debug("Anti-Cheat loading");
System.load(path.normalize().toAbsolutePath().toFile().getAbsolutePath());