mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
Match Mojang's action bar fix for MC-72687 (#8917)
This commit is contained in:
1 parent
6845c094ab
commit
c80e8a1aca
2 files changed
+3
-3
No files matched your search
@@ -516,7 +516,7 @@ public class ForgeGui extends Gui
|
||||
RenderSystem.defaultBlendFunc();
|
||||
int color = (animateOverlayMessageColor ? Mth.hsvToRgb(hue / 50.0F, 0.7F, 0.6F) & WHITE : WHITE);
|
||||
drawBackdrop(pStack, font, -4, font.width(overlayMessageString), 16777215 | (opacity << 24));
|
||||
font.draw(pStack, overlayMessageString.getVisualOrderText(), -font.width(overlayMessageString) / 2, -4, color | (opacity << 24));
|
||||
font.drawShadow(pStack, overlayMessageString.getVisualOrderText(), -font.width(overlayMessageString) / 2, -4, color | (opacity << 24));
|
||||
RenderSystem.disableBlend();
|
||||
pStack.popPose();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user