forked from External/mage
* Crew ability - added selected and needed power info while choosing, colorozing;
This commit is contained in:
parent
b45864070c
commit
83afca8bda
2 changed files with 27 additions and 3 deletions
|
|
@ -29,7 +29,7 @@ public class HintUtils {
|
|||
|
||||
// text
|
||||
if (text != null && color != null) {
|
||||
String hex = String.format("#%02x%02x%02x", color.getRed(), color.getGreen(), color.getGreen());
|
||||
String hex = String.format("#%02x%02x%02x", color.getRed(), color.getGreen(), color.getBlue());
|
||||
res = String.format("<font color=%s>%s</font>", hex, text);
|
||||
} else {
|
||||
res = text;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue