Fatal mixin in 4.0.11
cashpw opened this issue ยท 4 comments
Minecraft version information
1.21.1
Mod loader information
NeoForge
Mod loader version information
21.1.209
Mod version information
4.0.11
Reproduction Steps
- Launch Minecraft via PrismLauncher
Crash Report and latest.log
[01:43:19] [Render thread/FATAL] [mixin/]: Mixin apply for mod friendsandfoes failed friendsandfoes-common.mixins.json:RaidMemberMixin from mod friendsandfoes -> net.minecraft.world.entity.raid.Raid$RaiderType: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException @WrapOperation annotation is trying to target an call in net/minecraft/world/entity/raid/Raid$RaiderType::()V in net/minecraft/world/entity/raid/Raid$RaiderType::friendsandfoes$wrapEvokerCtor! If this is an instantiation, target the NEW instead.
Additional information
Fixed by reverting to 4.0.10
Hopefully fixed with https://github.com/Faboslav/friends-and-foes/releases/tag/4.0.12 (I just rollbacked the mixin into previous version)
I'm still seeing a related crash on Friends & Foes 4.0.12 (NeoForge 21.1.209, MC 1.21.1).
java.lang.NullPointerException: Cannot invoke "java.lang.Float.floatValue()" because the return value of "ImmutableMap.get(Object)" is null
at net.minecraft.world.entity.ai.sensing.VillagerHostilesSensor.wrapMethod$dle000$friendsan
Hello, yeah another crash, different mixin, i will fix it too probably tomorrow, thanks!