
[Bug] FrostedHeart accessed client class on dedicated server, causing crash
ZZZank opened this issue · 2 comments
Error Behaviour
The NewChatGuiAccessor will try to mixin a client class even on dedicated server:
[01:30:30] [main/WARN] [mixin]: @Mixin target net.minecraft.client.gui.components.ChatComponent was not found frostedheart.mixins.json:minecraft.accessors.NewChatGuiAccessor
Expected Behaviour
no crash (obviously ¯\_(ツ)_/¯)
Reproduce
Install WinterRescue 0.6 (or the FrostedHeart mod alone) on a dedicated server, then launch
Crash Report
https://gist.github.com/ZZZank/955b53212234745f977c94fb2fd6d705
Modpack version
0.6
Server version
no server pack provided for 0.6
Other mods and plugins
No additional mod, plugins unknown.
If plugins info is required, feel free to ask, I will forward this to the server owner who originally found this crash
Mixin client class would never cause a crash, only causing a class not found warning, and it works on our official test server. Post full debug log and crash report for further help.
debug.log: https://gist.github.com/ZZZank/3e06abe3c52d8be9304fcf858fbb6b5a
And another crash: I've tried setting up a server with minimum modlist with frostedheart-1.20.1-0.6.11-snapshot630
and all required dependencies for it. When launching, this error happened:
Mixin apply failed frostedheart.mixins.json:drawer.ControllerBlockEntityMixin -> com.jaquadro.minecraft.storagedrawers.block.tile.BlockEntityController: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException Invalid descriptor on frostedheart.mixins.json:drawer.ControllerBlockEntityMixin->@Inject::fh$getCapability(Lnet/minecraftforge/common/capabilities/Capability;Lnet/minecraft/core/Direction;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfoReturnable;)V! Expected (Lcom/texelsaurus/minecraft/chameleon/capabilities/ChameleonCapability;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfoReturnable;)V but found (Lnet/minecraftforge/common/capabilities/Capability;Lnet/minecraft/core/Direction;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfoReturnable;)V [INJECT Applicator Phase -> frostedheart.mixins.json:drawer.ControllerBlockEntityMixin -> Apply Injections -> -> Inject -> frostedheart.mixins.json:drawer.ControllerBlockEntityMixin->@Inject::fh$getCapability(Lnet/minecraftforge/common/capabilities/Capability;Lnet/minecraft/core/Direction;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfoReturnable;)V]
org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Invalid descriptor on frostedheart.mixins.json:drawer.ControllerBlockEntityMixin->@Inject::fh$getCapability(Lnet/minecraftforge/common/capabilities/Capability;Lnet/minecraft/core/Direction;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfoReturnable;)V! Expected (Lcom/texelsaurus/minecraft/chameleon/capabilities/ChameleonCapability;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfoReturnable;)V but found (Lnet/minecraftforge/common/capabilities/Capability;Lnet/minecraft/core/Direction;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfoReturnable;)V [INJECT Applicator Phase -> frostedheart.mixins.json:drawer.ControllerBlockEntityMixin -> Apply Injections -> -> Inject -> frostedheart.mixins.json:drawer.ControllerBlockEntityMixin->@Inject::fh$getCapability(Lnet/minecraftforge/common/capabilities/Capability;Lnet/minecraft/core/Direction;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfoReturnable;)V]
at org.spongepowered.asm.mixin.injection.callback.CallbackInjector.inject(CallbackInjector.java:517) ~[mixin-0.8.5.jar%2365!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
at org.spongepowered.asm.mixin.injection.callback.CallbackInjector.inject(CallbackInjector.java:447) ~[mixin-0.8.5.jar%2365!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
at org.spongepowered.asm.mixin.injection.code.Injector.inject(Injector.java:276) ~[mixin-0.8.5.jar%2365!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
...
Storage Drawers at version 12.9.13 (with CF file id 5981672, the one used in FrostedHeart repo
full latest.log: https://gist.github.com/ZZZank/2c7fbcb9f68d72ad33513779c052cf2c