From ea51b4c8d83c4d7e2ed5823395b73861093ac4c5 Mon Sep 17 00:00:00 2001 From: xia-mc <2052472631@qq.com> Date: Thu, 11 Jul 2024 12:14:35 +0800 Subject: [PATCH] possible bug fix --- src/main/java/keystrokesmod/module/ModuleManager.java | 1 - src/main/java/keystrokesmod/module/impl/movement/Fly.java | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/keystrokesmod/module/ModuleManager.java b/src/main/java/keystrokesmod/module/ModuleManager.java index f336aca7..9ded6eb4 100644 --- a/src/main/java/keystrokesmod/module/ModuleManager.java +++ b/src/main/java/keystrokesmod/module/ModuleManager.java @@ -216,7 +216,6 @@ public void register() { this.addModule(autoRespawn = new AutoRespawn()); antiBot.enable(); commandChat.enable(); - modSpoofer.enable(); modules.sort(Comparator.comparing(Module::getPrettyName)); } diff --git a/src/main/java/keystrokesmod/module/impl/movement/Fly.java b/src/main/java/keystrokesmod/module/impl/movement/Fly.java index 4d92adcf..8439090b 100644 --- a/src/main/java/keystrokesmod/module/impl/movement/Fly.java +++ b/src/main/java/keystrokesmod/module/impl/movement/Fly.java @@ -188,7 +188,8 @@ else if (Utils.jumpDown()) { AxisAlignedBB grimACBox = playerBox.expand(1, 1, 1); if (entity instanceof EntityBoat) { AxisAlignedBB boatBox = entity.getEntityBoundingBox(); - if (boatBox.intersectsWith(grimACBox) && !(boatBox.intersectsWith(playerBox))) { + if (boatBox.intersectsWith(grimACBox) && !(boatBox.intersectsWith(playerBox))) { // if grimAC disabled simulation + // normal fly code if (Utils.jumpDown()) { mc.thePlayer.motionY = 0.5 * verticalSpeed.getInput(); } else if (mc.thePlayer.isSneaking()) {