Ama's Damage Indicator

Ama's Damage Indicator

281k Downloads

Compat issue with Survive Mod

Jollyolsport opened this issue ยท 1 comments

commented

When indicator is on an entity the survive temperature GUI at the top of the screen goes white. Both GUIs are able to function side by side and do not at all touch each other or overlap. It's only when the indicator is switched on does Survive's Temperature indicator get whited out.

commented

unless I am mistaken, this is due to GlStateManager.disableTexture(); in https://github.com/JibayMcs/Ama-s-Damage-Indicator/blob/master/src/main/java/fr/zeamateis/damage_indicator/client/gui/GuiDamageIndicator.java

Why is this called? There is never a GlStateManager.enableTexture(), so it's not like it is putting things back how they were before.

It also whites out VoxelMap when looking at an entity. I can fix it with a defensive GlStateManager.enableTexture() before I render anything, but it should be safe to assume disableTexture hasn't been called, as Damage Indicators itself assumes (since it doesn't call GlStateManager.enableTexture()). It seems like a random FU to anyone who wants to render something after Damage Indicators