Skip to content

Mixin error on Fabric 1.21.6 #1442

@JustAPotota

Description

@JustAPotota

Describe the bug
Trying to join a world on Fabric 1.21.6 with this mod installed fails due to a Mixin error.

Software brand
Fabric 1.21.6

Plugins
PacketEvents v2.11.1

How To Reproduce

  1. Install PacketEvents v2.11.1 on Fabric 1.21.6
  2. Try to enter a world

Expected behavior
It shouldn't do that.

Additional context

Caused by: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Critical injection failure: @Inject annotation on preLoginPlayerThreadSwitch could not find any targets matching 'handleLogin' in net/minecraft/class_634. Using refmap fabric-refmap.json [INJECT_PREPARE Applicator Phase -> packetevents.mixins.json:ClientPacketListenerMixin from mod packetevents -> Prepare Injections -> handler$zzc000$packetevents$preLoginPlayerThreadSwitch(Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Parse -> -> Validate Targets]

https://mclo.gs/ZXG38YR

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions