mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 07:13:28 +01:00
Fix Smaller Button not rendering using the color of the message
This commit is contained in:
parent
3f49a259a1
commit
a85c67955c
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ public class Buttons {
|
|||
color = 16777120;
|
||||
}
|
||||
|
||||
guiGraphics.drawCenteredString(Minecraft.getInstance().font, this.getMessage().getString(), this.getX() + this.width / 2, this.getY() + (this.height - 8) / 2, color);
|
||||
guiGraphics.drawCenteredString(Minecraft.getInstance().font, this.getMessage(), this.getX() + this.width / 2, this.getY() + (this.height - 8) / 2, this.getMessage().getStyle().getColor().getValue());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue