Skip to content

Commit

Permalink
v3.0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
xItsSunny committed Jan 20, 2025
1 parent 621d087 commit 289bd3a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
6 changes: 2 additions & 4 deletions src/main/java/keystrokesmod/Const.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@
@Unmodifiable
public final class Const {
public static final String NAME = "Raven XD";
public static final String VERSION = "3.0.2";
public static final String VERSION = "3.0.2.1";
public static final List<String> CHANGELOG = Collections.unmodifiableList(Arrays.asList(
"[+] **Re-Add** Ability to choose Anticheat checks",
"[+] Add E-Sound Cape",
"[-] Remove Raven-XD mode from ClientSpoofer"
"-[※] **Fix** Ability to choose Anticheat checks"
));
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package keystrokesmod.module.impl.other.anticheats.checks.combat;

import keystrokesmod.event.network.ReceivePacketEvent;
import keystrokesmod.eventbus.annotations.EventListener;
import keystrokesmod.module.impl.other.Anticheat;
import keystrokesmod.module.impl.other.anticheats.Check;
import keystrokesmod.module.impl.other.anticheats.TRPlayer;
Expand All @@ -9,7 +10,6 @@
import keystrokesmod.utility.Utils;
import net.minecraft.network.play.server.S0BPacketAnimation;
import net.minecraft.network.play.server.S14PacketEntity;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import org.jetbrains.annotations.NotNull;

import static keystrokesmod.Client.mc;
Expand All @@ -21,7 +21,7 @@ public AutoBlockA(@NotNull TRPlayer player) {
super("AutoBlockA", player);
}

@SubscribeEvent
@EventListener
public void onReceivePacket(@NotNull ReceivePacketEvent event) {
if (event.getPacket() instanceof S0BPacketAnimation) {
if (((S0BPacketAnimation) event.getPacket()).getEntityID() == player.fabricPlayer.getEntityId()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import it.unimi.dsi.fastutil.longs.LongArrayFIFOQueue;
import keystrokesmod.event.network.ReceivePacketEvent;
import keystrokesmod.eventbus.annotations.EventListener;
import keystrokesmod.module.impl.other.Anticheat;
import keystrokesmod.module.impl.other.anticheats.Check;
import keystrokesmod.module.impl.other.anticheats.TRPlayer;
Expand All @@ -16,7 +17,7 @@ public AutoClickerA(@NotNull TRPlayer player) {
super("AutoClickerA", player);
}

@SubscribeEvent
@EventListener
public void onReceivePacket(@NotNull ReceivePacketEvent event) {
if (event.getPacket() instanceof S0BPacketAnimation) {
if (((S0BPacketAnimation) event.getPacket()).getEntityID() == player.fabricPlayer.getEntityId()) {
Expand Down

0 comments on commit 289bd3a

Please sign in to comment.