Fix invisible crosshair with Xaero's Minimap (#775)

This commit is contained in:
Caedis authored and GitHub committed 2024-12-11 16:32:49 -05:00
1 parent f738adbdef
commit 47503ce254
1 file changed
+5
@@ -136,6 +136,11 @@ public class HUDCaching {
guiForge.callRenderPortal(width, height, partialTicks);
}
if (renderCrosshairsCaptured) {
if (ModStatus.isXaerosMinimapLoaded){
// this fixes the crosshair going invisible when no lines are being drawn under the minimap
// nothing is actually renderer due to font batching and an empty string being passed
Minecraft.getMinecraft().fontRenderer.drawString("", 0, 0, 0);
}
guiForge.callRenderCrosshairs(width, height);
}
if (ModStatus.isThaumcraftLoaded || ModStatus.isThaumicHorizonsLoaded){