From fcdde15967ef2b544caa4f159415cb0b0c2b928a Mon Sep 17 00:00:00 2001 From: blockparole <> Date: Sun, 3 Nov 2019 19:38:39 +0100 Subject: [PATCH] Aura: Rename WaitMode Enum Values --- .../kami/module/modules/combat/Aura.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/me/zeroeightsix/kami/module/modules/combat/Aura.java b/src/main/java/me/zeroeightsix/kami/module/modules/combat/Aura.java index 27525322..0fe64296 100644 --- a/src/main/java/me/zeroeightsix/kami/module/modules/combat/Aura.java +++ b/src/main/java/me/zeroeightsix/kami/module/modules/combat/Aura.java @@ -33,7 +33,7 @@ public class Aura extends Module { private Setting attackAnimals = register(Settings.b("Animals", false)); private Setting hitRange = register(Settings.d("Hit Range", 5.5d)); private Setting ignoreWalls = register(Settings.b("Ignore Walls", true)); - private Setting waitMode = register(Settings.e("Mode", WaitMode.KAMI)); + private Setting waitMode = register(Settings.e("Mode", WaitMode.Dynamic)); private Setting waitTick = register(Settings.d("Tick Wait", 3.0)); private Setting switchTo32k = register(Settings.b("32k Switch", true)); private Setting onlyUse32k = register(Settings.b("32k Only", false)); @@ -52,7 +52,7 @@ public class Aura extends Module { return; } - if (waitMode.getValue().equals(WaitMode.KAMI)) { + if (waitMode.getValue().equals(WaitMode.Dynamic)) { if (mc.player.getCooledAttackStrength(getLagComp()) < 1) { return; } else if (mc.player.ticksExisted % 2 != 0) { @@ -60,7 +60,7 @@ public class Aura extends Module { } } - if (waitMode.getValue().equals(WaitMode.TICK) && waitTick.getValue() > 0) { + if (waitMode.getValue().equals(WaitMode.Static) && waitTick.getValue() > 0) { if (waitCounter < waitTick.getValue()) { waitCounter++; return; @@ -84,7 +84,7 @@ public class Aura extends Module { if (((EntityLivingBase) target).getHealth() <= 0) { continue; } - if (waitMode.getValue().equals(WaitMode.KAMI) && ((EntityLivingBase) target).hurtTime != 0) { + if (waitMode.getValue().equals(WaitMode.Dynamic) && ((EntityLivingBase) target).hurtTime != 0) { continue; } if (!ignoreWalls.getValue() && (!mc.player.canEntityBeSeen(target) && !canEntityFeetBeSeen(target))) { @@ -180,7 +180,7 @@ public class Aura extends Module { } private float getLagComp() { - if (waitMode.getValue().equals(WaitMode.KAMI)) { + if (waitMode.getValue().equals(WaitMode.Dynamic)) { return -(20 - LagCompensator.INSTANCE.getTickRate()); } return 0.0F; @@ -191,7 +191,7 @@ public class Aura extends Module { } private enum WaitMode { - KAMI, TICK + Dynamic, Static } }