Skip to content

Commit

Permalink
speedmine bypass link original issue [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Wide-Cat committed Feb 23, 2024
1 parent 1df040e commit 583eb40
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ else if (mode.get() == Mode.Damage) {
private void onPacket(PacketEvent.Send event) {
if (!(mode.get() == Mode.Damage) || !grimBypass.get()) return;

// https://github.com/GrimAnticheat/Grim/issues/1296
if (event.packet instanceof PlayerActionC2SPacket packet && packet.getAction() == PlayerActionC2SPacket.Action.STOP_DESTROY_BLOCK) {
mc.getNetworkHandler().sendPacket(new PlayerActionC2SPacket(PlayerActionC2SPacket.Action.ABORT_DESTROY_BLOCK, packet.getPos().up(), packet.getDirection()));
}
Expand Down

0 comments on commit 583eb40

Please sign in to comment.