fixing someone's typo.

This commit is contained in:
Maxmtg
2013-05-27 09:06:03 +00:00
parent 3049c122bf
commit d9b00135ff

View File

@@ -324,7 +324,7 @@ public class AbilityManaPart implements java.io.Serializable {
return true; return true;
} }
if (this.getOrigProduced().contains("Chosen") && this.getSourceCard() == null ) { if (this.getOrigProduced().contains("Chosen") && sourceCard != null ) {
List<String> chosenCol = this.getSourceCard().getChosenColor(); List<String> chosenCol = this.getSourceCard().getChosenColor();
if ( !chosenCol.isEmpty() && MagicColor.toShortString(chosenCol.get(0)).contains(s)) { if ( !chosenCol.isEmpty() && MagicColor.toShortString(chosenCol.get(0)).contains(s)) {
return true; return true;