diff --git a/Launcher/src/main/java/ru/gravit/launcher/AvanguardStarter.java b/Launcher/src/main/java/ru/gravit/launcher/AvanguardStarter.java index 98d9ff35..0b2310d8 100644 --- a/Launcher/src/main/java/ru/gravit/launcher/AvanguardStarter.java +++ b/Launcher/src/main/java/ru/gravit/launcher/AvanguardStarter.java @@ -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(); } diff --git a/Launcher/src/main/java/ru/zaxar163/GuardBind.java b/Launcher/src/main/java/ru/zaxar163/GuardBind.java index 0ddfd2cc..f9510794 100644 --- a/Launcher/src/main/java/ru/zaxar163/GuardBind.java +++ b/Launcher/src/main/java/ru/zaxar163/GuardBind.java @@ -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()); diff --git a/Launcher/src/main/resources/Avanguard64.dll b/Launcher/src/main/resources/Avanguard64.dll index b1f76af6..e2ad0e24 100644 Binary files a/Launcher/src/main/resources/Avanguard64.dll and b/Launcher/src/main/resources/Avanguard64.dll differ