Hello,
lately i got an issue report about SpongeForge (issue). My mod ItemPhysic can’t be used on a SpongeForge Server due to some ASM Transformer crashes.
So my question is, is there a way to fix an issue like that? I’m sure that this is a lot more difficult because those files don’t exits like in forge, so my transformation end up ruining everything.
It seems that you are directly using minecraft classes in your class transformer. This is a potential error source. Forge alone does not check this, sponge does. As far as I can see in your source, you are using these classes: import net.minecraft.client.gui.GuiScreen; import net.minecraft.client.renderer.entity.RenderItem; import net.minecraft.util.DamageSource;
All of these would normally run though the class transformers, so you cannot use them while you’re transforming.