Skip to content

Commit

Permalink
ka fix x 2
Browse files Browse the repository at this point in the history
  • Loading branch information
K-ov committed Oct 14, 2022
1 parent 7466830 commit 5f298ea
Show file tree
Hide file tree
Showing 14 changed files with 6 additions and 4 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file modified build/libs/[1.8.9] BetterKeystrokes V-1.2-sources.jar
Binary file not shown.
Binary file modified build/libs/[1.8.9] BetterKeystrokes V-1.2.jar
Binary file not shown.
Binary file modified src/.DS_Store
Binary file not shown.
Binary file modified src/main/.DS_Store
Binary file not shown.
Binary file modified src/main/java/.DS_Store
Binary file not shown.
Binary file modified src/main/java/keystrokesmod/.DS_Store
Binary file not shown.
Binary file modified src/main/java/keystrokesmod/client/.DS_Store
Binary file not shown.
Binary file modified src/main/java/keystrokesmod/client/module/.DS_Store
Binary file not shown.
Binary file modified src/main/java/keystrokesmod/client/module/modules/.DS_Store
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import java.util.Comparator;
import java.util.List;

import org.lwjgl.input.Keyboard;
import org.lwjgl.input.Mouse;

import com.google.common.eventbus.Subscribe;
Expand Down Expand Up @@ -70,9 +69,9 @@ public KillAura() {
@Subscribe
public void onUpdate(UpdateEvent e) {
if(!Utils.Player.isPlayerInGame()) {
yaw = mc.thePlayer.rotationYaw;
return;
}
try {
Mouse.poll();
pTargets = Utils.Player.getClosePlayers((float) rotationDistance.getInput());
pTargets.removeIf(player -> !(isValidTarget(player)));
Expand Down Expand Up @@ -107,6 +106,9 @@ public void onUpdate(UpdateEvent e) {
pitch = i[1] + 4f;
e.setYaw(yaw);
e.setPitch(pitch);
} catch(Exception xe) {
xe.printStackTrace();
}
}

@Subscribe
Expand Down Expand Up @@ -157,8 +159,8 @@ private void ravenClick() {
public void leftClickExecute(int key) {
if ((this.leftUpTime > 0L) && (this.leftDownTime > 0L)) {
if ((System.currentTimeMillis() > this.leftUpTime) && leftDown) {
if(Keyboard.isKeyDown(mc.gameSettings.keyBindUseItem.getKeyCode()))
KeyBinding.setKeyBindState(mc.gameSettings.keyBindUseItem.getKeyCode(), false);
if(mc.thePlayer.isUsingItem())
mc.thePlayer.stopUsingItem();
KeyBinding.setKeyBindState(key, true);
KeyBinding.onTick(key);
this.genLeftTimings();
Expand Down
Binary file modified src/main/resources/.DS_Store
Binary file not shown.
Binary file modified src/main/resources/assets/.DS_Store
Binary file not shown.

0 comments on commit 5f298ea

Please sign in to comment.