Added credits (player playing it) to deck list from tournament.

This commit is contained in:
marcins78@gmail.com
2012-07-04 15:10:09 +00:00
parent 2628e6d061
commit 25699e3cf9

View File

@@ -160,6 +160,7 @@ public class TournamentResource extends AbstractResource {
StringBuilder result = new StringBuilder();
result.append("<html><body>");
result.append("<h1>" + StringEscapeUtils.escapeHtml(deck.getDeckName()) + "</h1>");
result.append("<h2>by " + playerName + "</h2>");
String ringBearer = deck.getRingBearer();
if (ringBearer != null)
result.append("<b>Ring-bearer:</b> " + GameUtils.getFullName(_library.getLotroCardBlueprint(ringBearer)) + "<br/>");