mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
fix build errors on java 6
This commit is contained in:
@@ -162,15 +162,13 @@ public enum DeckFormat {
|
||||
|
||||
if(erroneousCI.size() > 0)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder("contains the cards " + System.lineSeparator());
|
||||
StringBuilder sb = new StringBuilder("contains card that do not match the commanders color identity:");
|
||||
|
||||
for(CardPrinted cp : erroneousCI)
|
||||
{
|
||||
sb.append(cp.getName() + ", " + System.lineSeparator());
|
||||
sb.append("\n").append(cp.getName());
|
||||
}
|
||||
|
||||
sb.append(" that do not match the commanders color identity.");
|
||||
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user