Replaced broken reach check, continued work on movement check update

This commit is contained in:
Rammelkast committed 2020-06-13 14:49:35 +02:00
1 parent 636f94b408
commit 20635a2acb
15 files changed
+295 -203

No files matched your search

@@ -43,9 +43,9 @@ public class MorePacketsCheck {
public static void runCheck(Player player, PacketEvent event) {
// Confirm if we should even check for MorePackets
// If your TPS is lower than 15 you are running a shitshow
// Upped TPS min to 17.5, need to add lag-based compensation to combat falses
double tps = AntiCheatReloaded.getPlugin().getTPS();
if (!AntiCheatReloaded.getManager().getCheckManager().willCheck(player, CheckType.MOREPACKETS) || tps < 15) {
if (!AntiCheatReloaded.getManager().getCheckManager().willCheck(player, CheckType.MOREPACKETS) || tps < 17.5) {
return;
}