PLEASE I NEED SLEEP
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m0s
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m0s
This commit is contained in:
parent
8bd5220423
commit
db18b1a84f
2 changed files with 1 additions and 3 deletions
|
@ -72,8 +72,6 @@ public abstract class Feature extends ToggleButton implements SetCommand {
|
|||
|
||||
public abstract String toString();
|
||||
|
||||
public final int color = getHashColor();
|
||||
|
||||
public int getHashColor() {
|
||||
return Color.decode("#"+ Hasher.sha256hex(getIDName()).substring(0,6)).getRGB();
|
||||
}
|
||||
|
|
|
@ -237,7 +237,7 @@ public class HUD extends Feature {
|
|||
TextSplitter.drawString(initString, 3,3, theme.getGreenColor(), textShadow, false);
|
||||
int y = 3 + TextSplitter.getStringHeight(initString);
|
||||
for (Feature f : renderFeatures) {
|
||||
mc.fontRenderer.drawString(f.text, 3, y, hashColor ? f.color : theme.getGreenColor(), textShadow);
|
||||
mc.fontRenderer.drawString(f.text, 3, y, hashColor ? f.getHashColor() : theme.getGreenColor(), textShadow);
|
||||
y = y + mc.fontRenderer.FONT_HEIGHT;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue