mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-17 02:55:17 +00:00
12 lines
408 B
Diff
12 lines
408 B
Diff
--- a/net/minecraft/client/gui/components/AbstractButton.java
|
|
+++ b/net/minecraft/client/gui/components/AbstractButton.java
|
|
@@ -39,7 +_,7 @@
|
|
this.getHeight(),
|
|
ARGB.white(this.alpha)
|
|
);
|
|
- int i = this.active ? 16777215 : 10526880;
|
|
+ int i = getFGColor();
|
|
this.renderString(p_281670_, minecraft.font, i | Mth.ceil(this.alpha * 255.0F) << 24);
|
|
}
|
|
|