Skip to content
This repository has been archived by the owner on Nov 25, 2021. It is now read-only.

Commit

Permalink
criticals are broken agian lol
Browse files Browse the repository at this point in the history
  • Loading branch information
HausemasterIssue authored Oct 1, 2021
1 parent ee947b2 commit 8dccdd1
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ public class Criticals extends Module {
@EventHandler
private final Listener<PacketEvent.Send> listener = new Listener<>(event -> {
if (event.getPacket() instanceof CPacketUseEntity) {
if (((CPacketUseEntity) event.getPacket()).getAction() == CPacketUseEntity.Action.ATTACK && packet.getEntityFromWorld((World)this.mc.world) instanceof EntityLivingBase &&
mc.player.onGround && !mc.player.isInLava() && !mc.player.isInWater()) {
if (((CPacketUseEntity) event.getPacket()).getAction() == CPacketUseEntity.Action.ATTACK && packet.getEntityFromWorld((World)this.mc.world) instanceof EntityLivingBase && mc.player.onGround) {
switch (critMode.getValue()) {
case "Jump": {
mc.player.jump();
Expand Down

0 comments on commit 8dccdd1

Please sign in to comment.