From 4385073234321a513adad7f9260fd3c1a3492e8e Mon Sep 17 00:00:00 2001 From: ManInMyVan Date: Sun, 17 Nov 2024 18:05:10 -0700 Subject: [PATCH] fix MultiInteract and MultiPlace falses --- .../java/ac/grim/grimac/checks/impl/combat/MultiInteractA.java | 2 +- .../java/ac/grim/grimac/checks/impl/combat/MultiInteractB.java | 2 +- .../java/ac/grim/grimac/checks/impl/scaffolding/MultiPlace.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/ac/grim/grimac/checks/impl/combat/MultiInteractA.java b/src/main/java/ac/grim/grimac/checks/impl/combat/MultiInteractA.java index 5f074f20a3..807ff937d2 100644 --- a/src/main/java/ac/grim/grimac/checks/impl/combat/MultiInteractA.java +++ b/src/main/java/ac/grim/grimac/checks/impl/combat/MultiInteractA.java @@ -59,7 +59,7 @@ public void onPredictionComplete(PredictionComplete predictionComplete) { // we don't need to check pre-1.9 players here (no tick skipping) if (player.getClientVersion().isOlderThanOrEquals(ClientVersion.V_1_8)) return; - if (!player.skippedTickInActualMovement && predictionComplete.isChecked()) { + if (player.isTickingReliablyFor(3)) { for (String verbose : flags) { flagAndAlert(verbose); } diff --git a/src/main/java/ac/grim/grimac/checks/impl/combat/MultiInteractB.java b/src/main/java/ac/grim/grimac/checks/impl/combat/MultiInteractB.java index 1c449657d0..25f37c63de 100644 --- a/src/main/java/ac/grim/grimac/checks/impl/combat/MultiInteractB.java +++ b/src/main/java/ac/grim/grimac/checks/impl/combat/MultiInteractB.java @@ -60,7 +60,7 @@ public void onPredictionComplete(PredictionComplete predictionComplete) { // we don't need to check pre-1.9 players here (no tick skipping) if (player.getClientVersion().isOlderThanOrEquals(ClientVersion.V_1_8)) return; - if (!player.skippedTickInActualMovement && predictionComplete.isChecked()) { + if (player.isTickingReliablyFor(3)) { for (String verbose : flags) { flagAndAlert(verbose); } diff --git a/src/main/java/ac/grim/grimac/checks/impl/scaffolding/MultiPlace.java b/src/main/java/ac/grim/grimac/checks/impl/scaffolding/MultiPlace.java index 5c34f6eef4..1c79c582a1 100644 --- a/src/main/java/ac/grim/grimac/checks/impl/scaffolding/MultiPlace.java +++ b/src/main/java/ac/grim/grimac/checks/impl/scaffolding/MultiPlace.java @@ -63,7 +63,7 @@ public void onPacketReceive(PacketReceiveEvent event) { @Override public void onPredictionComplete(PredictionComplete predictionComplete) { - if (player.getClientVersion().isNewerThan(ClientVersion.V_1_8) && !player.skippedTickInActualMovement && predictionComplete.isChecked()) { + if (player.getClientVersion().isNewerThan(ClientVersion.V_1_8) && player.isTickingReliablyFor(3)) { for (String verbose : flags) { flagAndAlert(verbose); }