mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 04:20:02 +03:00
23 lines
661 B
Diff
23 lines
661 B
Diff
--- ../src-base/minecraft/net/minecraft/client/gui/GuiButton.java
|
|
+++ ../src-work/minecraft/net/minecraft/client/gui/GuiButton.java
|
|
@@ -22,6 +22,7 @@
|
|
public boolean enabled;
|
|
public boolean visible;
|
|
protected boolean hovered;
|
|
+ public int packedFGColour; //FML
|
|
|
|
public GuiButton(int buttonId, int x, int y, String buttonText)
|
|
{
|
|
@@ -75,6 +76,11 @@
|
|
this.mouseDragged(mc, mouseX, mouseY);
|
|
int j = 14737632;
|
|
|
|
+ if (packedFGColour != 0)
|
|
+ {
|
|
+ j = packedFGColour;
|
|
+ }
|
|
+ else
|
|
if (!this.enabled)
|
|
{
|
|
j = 10526880;
|