merge fix

This commit is contained in:
Oleg Agafonov 2025-05-24 20:12:53 +04:00
parent f3ba897536
commit ef4431e7f2
2 changed files with 2 additions and 1 deletions

View file

@ -59,7 +59,7 @@ public class EdhPowerLevelLegalityLabel extends LegalityLabel {
// use 60% font for better and compatible list
int infoFontSize = Math.round(GUISizeHelper.cardTooltipFont.getSize() * 0.6f);
int maxLimit = 25;
String extraInfo = this.foundPowerCards.size() <= maxLimit ? "" : String.format("<li style=\"margin-bottom: 2px;\">and %d more cards</li>", maxLimit - this.foundPowerCards.size());
String extraInfo = this.foundPowerCards.size() <= maxLimit ? "" : String.format("<li style=\"margin-bottom: 2px;\">and %d more cards</li>", this.foundPowerCards.size() - maxLimit);
return foundInfo.stream()
.limit(maxLimit)
.reduce("<html><body>"