Crash on startup with Charm because of a conflicting mixin
SplendidAlakey opened this issue · 4 comments
Describe the bug
When ServerCore and Charm are used together, the server won't start due to conflicting mixins:
[07:31:40] [main/WARN]: @reDIrect conflict. Skipping servercore.mixins.json:performance.MapStateMixin->@reDIrect::stopInvIteration(Lnet/minecraft/class_1661;Lnet/minecraft/class_1799;)Z from mod servercore-fabric with priority 1000, already redirected by charm.mixins.json:atlases.CheckContainsMapsMixin->@reDIrect::hookContains(Lnet/minecraft/class_1661;Lnet/minecraft/class_1799;)Z from mod charm with priority 1000
[07:31:40] [main/WARN]: @reDIrect conflict. Skipping servercore.mixins.json:performance.MapStateMixin->@reDIrect::stopInvIteration(Lnet/minecraft/class_1661;Lnet/minecraft/class_1799;)Z from mod servercore-fabric with priority 1000, already redirected by charm.mixins.json:atlases.CheckContainsMapsMixin->@reDIrect::hookContains(Lnet/minecraft/class_1661;Lnet/minecraft/class_1799;)Z from mod charm with priority 1000
Let me know if you need the full log, but this is the only relevant entry.
Reproduce
Steps to reproduce the behavior:
- Install ServerCore
- Install Charm
- Launch the server
Versions -Latest is not a version!
ServerCore: servercore-1.2.1-1.17.1
Minecraft: 1.17.1
Fabric API: 0.40.8
Charm: 3.3.3
Mod incompatibilities
List any installed mods you think might play a role in causing this bug.
Charm.
Hi, thank you for reporting this incompatibility.
This should be fixed in commit 9c4151c
With this one I'm getting a different crash now, not sure what exactly causes it. I see these entries related to ServerCore, but not sure if they are related to the crash:
[12:46:21] [main/WARN]: @mixin target net.minecraft.class_6540 was not found servercore.mixins.json:performance.mob_spawning.SpawnDensityCapperMixin
[12:46:21] [main/WARN]: @mixin target net.minecraft.class_6540$class_6541 was not found servercore.mixins.json:performance.mob_spawning.DensityCapMixin
I realize it's a large modpack, so let me know if I can provide any other useful info.
You are trying to use the 21w41a version in 1.17.1.
SpawnDensityCapperMixin
& DensityCapMixin
are mixins for new classes added in the 1.18 snapshots.
I updated the 1.17 jar on modrinth aswell, so alternatively you could use that instead.