diff --git a/src/main/java/ac/grim/grimac/checks/impl/movement/NoSlowC.java b/src/main/java/ac/grim/grimac/checks/impl/movement/NoSlowC.java index 39f77a941c..c8070a0b32 100644 --- a/src/main/java/ac/grim/grimac/checks/impl/movement/NoSlowC.java +++ b/src/main/java/ac/grim/grimac/checks/impl/movement/NoSlowC.java @@ -33,13 +33,19 @@ public void onPredictionComplete(final PredictionComplete predictionComplete) { if (!predictionComplete.isChecked()) return; if (player.isSlowMovement) { + ClientVersion client = player.getClientVersion(); + // https://bugs.mojang.com/browse/MC-152728 - if (startedSprintingBeforeSlowMovement && player.getClientVersion().isNewerThanOrEquals(ClientVersion.V_1_14_2)) { + if (startedSprintingBeforeSlowMovement && client.isNewerThanOrEquals(ClientVersion.V_1_14_2)) { reward(); return; } - if (player.isSprinting && player.sneakingSpeedMultiplier < 0.8f) { + if (player.isSprinting + // you can sneak and swim in 1.13 - 1.14.1 + && (!player.isSwimming || client.isNewerThan(ClientVersion.V_1_14_1) || client.isOlderThan(ClientVersion.V_1_13)) + && player.sneakingSpeedMultiplier < 0.8f + ) { if (flagWithSetback()) alert(""); } else reward(); }