Fix the amount in gem data not being displayed
This commit is contained in:
parent
70d362ccfd
commit
59d90e59fb
@ -43,7 +43,7 @@ public class GemSummaryComponent extends GameSummaryComponent<Map<String, GemDat
|
||||
{
|
||||
List<String> text = new ArrayList<>();
|
||||
|
||||
data.forEach((reason, gemData) -> text.add(C.cGray + "+" + _colour + (int) gemData.Gems + C.cGray + " for " + C.cYellow + reason));
|
||||
data.forEach((reason, gemData) -> text.add(C.cGray + "+" + _colour + (int) gemData.Gems + C.cGray + " for " + C.cYellow + (gemData.Amount > 0 ? gemData.Amount + " " : "") + reason));
|
||||
|
||||
return text;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user