Skip to content

Commit

Permalink
Release 1.17.1 (#660)
Browse files Browse the repository at this point in the history
  • Loading branch information
xia-mc authored Jul 18, 2024
1 parent 9a582fc commit ed63dbb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/java/keystrokesmod/module/impl/combat/KillAura.java
Original file line number Diff line number Diff line change
Expand Up @@ -592,10 +592,10 @@ private void attackAndInteract(EntityLivingBase target) {
}
switchTargets = true;
// TODO double swing?
Utils.attackEntityNoSwing(target);
Utils.attackEntity(target, !swing);
mc.thePlayer.sendQueue.addToSendQueue(new C02PacketUseEntity(target, C02PacketUseEntity.Action.INTERACT));
} else if (ModuleManager.antiFireball != null && ModuleManager.antiFireball.isEnabled() && ModuleManager.antiFireball.fireball != null && ModuleManager.antiFireball.attack) {
Utils.attackEntityNoSwing(ModuleManager.antiFireball.fireball);
Utils.attackEntity(ModuleManager.antiFireball.fireball, !ModuleManager.antiFireball.silentSwing.isToggled());
mc.thePlayer.sendQueue.addToSendQueue(new C02PacketUseEntity(ModuleManager.antiFireball.fireball, C02PacketUseEntity.Action.INTERACT));
}
}
Expand Down
5 changes: 4 additions & 1 deletion src/main/java/keystrokesmod/module/impl/movement/NoSlow.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ public void onUpdate() {
case 2:
postPlace = true;
break;
case 9:
case 3:
if (mc.thePlayer.ticksExisted % 3 == 0 && !Raven.badPacketsHandler.C07) {
mc.thePlayer.sendQueue.addToSendQueue(new C08PacketPlayerBlockPlacement(new BlockPos(-1, -1, -1), 1, null, 0, 0, 0));
Expand All @@ -104,7 +105,8 @@ public void onUpdate() {

@SubscribeEvent
public void onPostMotion(PostMotionEvent e) {
if ((int) mode.getInput() == 3) {
int input = (int) mode.getInput();
if (input == 3 || input == 9) {
if (postPlace) {
if (mc.thePlayer.ticksExisted % 3 == 0 && !Raven.badPacketsHandler.C07) {
mc.thePlayer.sendQueue.addToSendQueue(new C08PacketPlayerBlockPlacement(SlotHandler.getHeldItem()));
Expand Down Expand Up @@ -210,6 +212,7 @@ public void onPacketSent(@NotNull SendPacketEvent event) {
mc.thePlayer.jump();
}
send = true;
event.setCanceled(true);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/keystrokesmod/module/impl/render/HUD.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
import java.util.List;

public class HUD extends Module {
public static final String VERSION = "1.17.0";
public static final String VERSION = "1.17.1";
public static final HashMap<String, ResourceLocation> WATERMARK = new HashMap<>();
public static ModeSetting theme;
// public static SliderSetting font;
Expand Down

0 comments on commit ed63dbb

Please sign in to comment.