Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
valekatoz committed Feb 13, 2024
1 parent 3a25738 commit f588c35
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
mod_name = Kore
mod_id = kore
version = 2.3.2
version_number = 23201
version_number = 23202
licensed = true
archiveBaseName = KoreClient
loom.platform=forge
Expand Down
5 changes: 4 additions & 1 deletion src/main/java/net/kore/modules/combat/KillAura.java
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public void onDisable() {
@SubscribeEvent(priority = EventPriority.NORMAL)
public void onMovePre(final MotionUpdateEvent.Pre event) {
KillAura.target = this.getTarget();
if (this.attackOnly.isEnabled() && !Kore.mc.gameSettings.keyBindAttack.isKeyDown()) {
if (!this.isToggled() || (this.attackOnly.isEnabled() && !Kore.mc.gameSettings.keyBindAttack.isKeyDown())) {
return;
}
if (KillAura.target != null) {
Expand Down Expand Up @@ -296,6 +296,9 @@ private boolean hasDiamondArmor(final EntityPlayer player) {

@SubscribeEvent(priority = EventPriority.HIGHEST)
public void onMovePost(final MotionUpdateEvent.Post event) {
if(!this.isToggled()) {
return;
}
if (this.attackOnly.isEnabled() && !Kore.mc.gameSettings.keyBindAttack.isKeyDown()) {
this.attacks = 0;
return;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/kore/modules/player/Velocity.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public Velocity() {
super("Velocity", 0, Category.PLAYER);
this.vModifier = new NumberSetting("Vertical", 0.0, -2.0, 2.0, 0.05);
this.hModifier = new NumberSetting("Horizontal", 0.0, -2.0, 2.0, 0.05);
this.skyblockKB = new BooleanSetting("Skyblock kb", true);
this.skyblockKB = new BooleanSetting("Skyblock KnockBack", true);
this.addSettings(this.hModifier, this.vModifier, this.skyblockKB);
this.setFlagType(FlagType.DETECTED);
}
Expand Down

0 comments on commit f588c35

Please sign in to comment.