Crash when loading into a world with ServerCore
Closed this issue ยท 5 comments
According to your testing, does the issue occur with ONLY Immersive Portals mod and Fabric API?
No
Describe the issue
Game crashes when trying to load into a world if ServerCore and Immersive Portals are installed together. Happens with both Fabric and Quilt Loader.
Steps to reproduce the behavior:
- Install Quilt or Fabric and add their respective API (.jar file) into the mods folder.
- Add just the ServerCore and Immersive Portals (.jar files) into the mods folder.
- Run Minecraft and try to load into a world or create a new one.
- Crash.
Versions
Immersive Portals: 2.5.1
ServerCore: 1.3.4
Minecraft: 1.19.3
Caused by: org.spongepowered.asm.mixin.throwables.MixinApplyError: Mixin [servercore.mixins.json:features.misc.ChunkMapMixin from mod servercore] from phase [DEFAULT] in config [servercore.mixins.json] FAILED during APPLY
at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinError(MixinProcessor.java:638)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinApplyError(MixinProcessor.java:589)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:379)
... 15 more
Caused by: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: @At("INVOKE") on net/minecraft/class_3898::servercore$preventClientLag with priority 1000 cannot inject into net/minecraft/class_3898::method_18715(Lnet/minecraft/class_3222;Lorg/apache/commons/lang3/mutable/MutableObject;Lnet/minecraft/class_2818;)V merged by qouteall.imm_ptl.core.mixin.common.chunk_sync.MixinChunkMap_C with priority 1100 [PREINJECT Applicator Phase -> servercore.mixins.json:features.misc.ChunkMapMixin from mod servercore -> Prepare Injections -> -> handler$bam000$servercore$preventClientLag(Lnet/minecraft/class_3222;Lorg/apache/commons/lang3/mutable/MutableObject;Lnet/minecraft/class_2818;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Prepare]
Seems to be a mixin override issue. I wonder if it'll work allright if one disabled that feature on servercore
This issue is already fixed as ServerCore disables that mixin when ImmPtl is present.