Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import meteordevelopment.meteorclient.systems.modules.movement.elytrafly.ElytraFly;
import meteordevelopment.meteorclient.systems.modules.movement.elytrafly.modes.Bounce;
import meteordevelopment.meteorclient.systems.modules.player.NoStatusEffects;
import meteordevelopment.meteorclient.systems.modules.player.OffhandCrash;
import meteordevelopment.meteorclient.systems.modules.render.HandView;
import meteordevelopment.meteorclient.systems.modules.render.NoRender;
import net.minecraft.core.Holder;
Expand Down Expand Up @@ -58,15 +57,6 @@ private void spawnItemParticles(ItemStack itemStack, int count, CallbackInfo ci)
if (noRender.noEatParticles() && itemStack.getComponents().has(DataComponents.FOOD)) ci.cancel();
}

@Inject(method = "onEquipItem", at = @At("HEAD"), cancellable = true)
private void onEquipStack(EquipmentSlot slot, ItemStack oldStack, ItemStack stack, CallbackInfo ci) {
if ((Object) this != mc.player) return;

if (Modules.get().get(OffhandCrash.class).isAntiCrash()) {
ci.cancel();
}
}

@ModifyVariable(method = "swing(Lnet/minecraft/world/InteractionHand;)V", at = @At("HEAD"), argsOnly = true, name = "hand")
private InteractionHand setHand(InteractionHand hand) {
if ((Object) this != mc.player) return hand;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,6 @@ private void initPlayer() {
add(new NoMiningTrace());
add(new NoRotate());
add(new NoStatusEffects());
add(new OffhandCrash());
add(new Portals());
add(new PotionSaver());
add(new Reach());
Expand Down Expand Up @@ -548,7 +547,6 @@ private void initWorld() {
add(new Flamethrower());
add(new HighwayBuilder());
add(new LiquidFiller());
add(new MountBypass());
add(new NoGhostBlocks());
add(new Nuker());
add(new PacketMine());
Expand Down

This file was deleted.

This file was deleted.