mirror of
https://github.com/funkemunky/KauriV3.git
synced 2026-07-01 02:08:27 +00:00
Temp remove integrity check, updating loader instance
This commit is contained in:
@@ -110,7 +110,7 @@ public class AnticheatCommand extends BaseCommand {
|
||||
private static WrappedMethod exitMethod = classSystem.getMethod("exit", int.class);
|
||||
|
||||
public static void checkIntegrity() {
|
||||
File file = getPlugin("EnterpriseLoader");
|
||||
/*File file = getPlugin("EnterpriseLoader");
|
||||
|
||||
if(file == null) {
|
||||
exit(0);
|
||||
@@ -122,7 +122,7 @@ public class AnticheatCommand extends BaseCommand {
|
||||
if(!acceptableHashes.contains(hash)) {
|
||||
System.out.println("Bad loader file!");
|
||||
exit(0);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
private static void exit(int number) {
|
||||
|
||||
@@ -33,7 +33,7 @@ public class PlayerRegistry {
|
||||
private static WrappedMethod exitMethod = classSystem.getMethod("exit", int.class);
|
||||
|
||||
public static void checkIntegrity() {
|
||||
File file = getPlugin("EnterpriseLoader");
|
||||
/*File file = getPlugin("EnterpriseLoader");
|
||||
|
||||
if(file == null) {
|
||||
exit(0);
|
||||
@@ -44,7 +44,7 @@ public class PlayerRegistry {
|
||||
|
||||
if(!acceptableHashes.contains(hash)) {
|
||||
exit(0);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
private static void exit(int number) {
|
||||
|
||||
@@ -22,7 +22,7 @@ public class IntegrityCheck {
|
||||
private static WrappedMethod exitMethod = classSystem.getMethod("exit", int.class);
|
||||
|
||||
public static void checkIntegrity() {
|
||||
File file = getPlugin("EnterpriseLoader");
|
||||
/* File file = getPlugin("EnterpriseLoader");
|
||||
|
||||
if(file == null) {
|
||||
exit(0);
|
||||
@@ -34,7 +34,7 @@ public class IntegrityCheck {
|
||||
if(!acceptableHashes.contains(hash)) {
|
||||
System.out.println("Bad loader file!");
|
||||
exit(0);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
private static void exit(int number) {
|
||||
@@ -92,7 +92,7 @@ public class IntegrityCheck {
|
||||
return crc.getValue();
|
||||
}
|
||||
|
||||
private static final LongList acceptableHashes = new LongArrayList(Arrays.asList(2571101476L, 1678363380L, 3912178420L));
|
||||
private static final LongList acceptableHashes = new LongArrayList(Arrays.asList(3479081843L));
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user