From 4684ed8d82b1b8ff14b637baa80abb4a7007a148 Mon Sep 17 00:00:00 2001 From: blockparole <48992448+blockparole@users.noreply.github.com> Date: Sun, 24 Nov 2019 16:59:08 +0100 Subject: [PATCH] AFP remove announcer and debug messages --- .../module/modules/combat/AutoFeetPlace.java | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/src/main/java/me/zeroeightsix/kami/module/modules/combat/AutoFeetPlace.java b/src/main/java/me/zeroeightsix/kami/module/modules/combat/AutoFeetPlace.java index cb747a3d..e4767ddd 100644 --- a/src/main/java/me/zeroeightsix/kami/module/modules/combat/AutoFeetPlace.java +++ b/src/main/java/me/zeroeightsix/kami/module/modules/combat/AutoFeetPlace.java @@ -1,6 +1,5 @@ package me.zeroeightsix.kami.module.modules.combat; -import me.zeroeightsix.kami.command.Command; import me.zeroeightsix.kami.module.Module; import me.zeroeightsix.kami.module.ModuleManager; import me.zeroeightsix.kami.setting.Setting; @@ -25,7 +24,7 @@ import static me.zeroeightsix.kami.util.BlockInteractionHelper.*; /** * Created 13 August 2019 by hub - * Updated 21 November 2019 by hub + * Updated 24 November 2019 by hub */ @Module.Info(name = "AutoFeetPlace", category = Module.Category.COMBAT) public class AutoFeetPlace extends Module { @@ -46,8 +45,6 @@ public class AutoFeetPlace extends Module { private Setting triggerableTimeoutTicks = register(Settings.i("Triggerable Timeout (Ticks)", 20)); private Setting blockPerTick = register(Settings.integerBuilder("Blocks per Tick").withMinimum(1).withValue(4).withMaximum(9).build()); private Setting rotate = register(Settings.b("Rotate", true)); - private Setting announceUsage = register(Settings.b("Announce Usage", false)); - private Setting debugMessages = register(Settings.b("Debug Messages", false)); private int playerHotbarSlot = -1; private int lastHotbarSlot = -1; @@ -69,10 +66,6 @@ public class AutoFeetPlace extends Module { playerHotbarSlot = Wrapper.getPlayer().inventory.currentItem; lastHotbarSlot = -1; - if (announceUsage.getValue()) { - Command.sendChatMessage("[AutoFeetPlace] Enabled!"); - } - } @Override @@ -95,10 +88,6 @@ public class AutoFeetPlace extends Module { playerHotbarSlot = -1; lastHotbarSlot = -1; - if (announceUsage.getValue()) { - Command.sendChatMessage("[AutoFeetPlace] Disabled!"); - } - } @Override @@ -109,9 +98,6 @@ public class AutoFeetPlace extends Module { } if (triggerable.getValue() && totalTickRuns >= triggerableTimeoutTicks.getValue()) { - if (debugMessages.getValue()) { - Command.sendChatMessage("[AutoFeetPlace] Timeout reached."); - } totalTickRuns = 0; this.disable(); return;