Auto HUD

Auto HUD

665k Downloads

Compatibility issue with StatusEffectBars in 1.21.1

Franco227 opened this issue ยท 0 comments

commented

AutoHUD's compatibility with StatusEffectBars is broken in 1.21 and 1.21.1.

// File fabric/src/main/java/mod/crend/autohud/compat/mixin/statuseffectbars/StatusEffectBarRendererMixin.java
private static int autoHud$renderWithOffset(
	int y,
	DrawContext context,
	//? if >=1.21 {
	/*RenderTickCounter renderTickCounter,
	*///?} else if >=1.20.5
	/*float tickDelta,*/
	StatusEffectInstance effect
) {

The use of RenderTickCounter was added in the 1.21.2 version of StatusEffectBars, making the game crash if using both mods in 1.21 or 1.21.1.

latest.log : https://mclo.gs/FvMVlMY