Fabric Shield Lib

Fabric Shield Lib

3M Downloads

[1.19.2] Fabric Shield Crash

itsdinkd opened this issue ยท 6 comments

commented

occurred on my modpack, another quality modpack 2.

Updated to shield API 1.7 and crashed upon entering game

https://pastebin.com/JpakGKAx

commented

It seems like the mod "MobZ" or something like that changes the getCooldownTicks() method, causing an error. Could you please link that mod and provide the version of it?

commented

I looked at their code. seems this is the file causing the issue. https://github.com/rikka0w0/MobZReborn/blob/3835fe46b28b39d48ffbceaa6bf364863b9f42e2/fabric/src/main/java/net/mobz/mixin/MetalShieldMixin.java#L5

It overrides the getCooldownTicks() method:

@Mixin(Shield.class)
public abstract class MetalShieldMixin implements FabricShield {
	@Override
	public int getCooldownTicks() {
		return 100;
	}

	@Override
	public boolean supportsBanner() {
		return false;
	}
}
commented
commented

so whats the solution? do we bother mobz creator to fix it instead? sounds like a mobz issue then.

commented

Seems so, and I have opened an issue on their Github, rikka0w0/MobZReborn#35, but they haven't responded. @rikka0w0

commented

fixed by other mod dev