MobZ

MobZ

1M Downloads

Mixin causing crash due to possible interference with FabricShieldLib.

CringeStar opened this issue ยท 14 comments

commented

This override I think is causing the issue 142 in FabricShieldLib.

Here is the crash log provided on our issue: https://pastebin.com/JpakGKAx

You can head over to our issue for more detail.

commented

Works great with FabricShieldLib-1.6.0-1.19.jar version
https://www.curseforge.com/minecraft/mc-mods/fabric-shield-lib/files/3970058

commented

That version of the library is outdated, as we are now on 1.7. Also, the other cause of this problem is that your mixin is declared abstract which causes the crash:

java.lang.AbstractMethodError: Method net/mobz/item/Shield.getCoolDownTicks()I is abstract
	at net.mobz.item.Shield.getCoolDownTicks(Shield.java)
	at com.github.crimsondawn45.fabricshieldlib.initializers.FabricShieldLibClient.lambda$onInitializeClient$0(FabricShieldLibClient.java:73)
	at net.fabricmc.fabric.api.client.item.v1.ItemTooltipCallback.lambda$static$0(ItemTooltipCallback.java:37)
	at net.minecraft.class_1799.handler$gao000$fabric-item-api-v1$getTooltip(net/fabricmc/fabric/mixin/item/client/ItemStackMixin.java 
commented

Any updates on this?

commented

also getting an error with this with shield lib.

commented

Any updates?

commented

The main source of this issue appears to be the mixin in this mod is declared abstract. @rikka0w0

commented

I'm having the same issue. It started happening after pulling C2ME.

https://gist.github.com/Sunconure11/b3162a9d7b1fdd9e365d33ffc07e3898

@rikka0w0 @StellarWind22

commented

Having the same issue, any updates?

commented

I am having the same issue u.u

commented

Manu's advice works fine for me.

commented

Manu's advice works fine for me.

It references an outdated version of the library, so it idnt a fix. Also, we are trying to update the library to our next version (1.7.1) and this bug has halted our development since we want to fix the issue in the update. @rikka0w0 Please update and fix your mod.

commented

@rikka0w0 Please fix this, as we are trying to release the next library version and this is the last major bug left.

commented

In FabricShieldLib 1.7, one method has been renamed:
image

I will update the 1.19.2 MobZ to support FabricShieldLib 1.7.

commented

that seemed to fix the crash, so thanks!