Fix the amount in gem data not being displayed

This commit is contained in:
Sam 2017-11-09 14:18:44 +00:00 committed by Alexander Meech
parent 70d362ccfd
commit 59d90e59fb
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}