Fix bug in method body (my fault, nonfunctional)

This commit is contained in:
elcnesh
2015-01-16 21:19:51 +00:00
parent e34bf0ca7c
commit f1745fae72

View File

@@ -194,7 +194,7 @@ public class CardLists {
public static int getAmountOfKeyword(final Iterable<Card> cardList, final String keyword) { public static int getAmountOfKeyword(final Iterable<Card> cardList, final String keyword) {
int nKeyword = 0; int nKeyword = 0;
for (final Card c : cardList) { for (final Card c : cardList) {
nKeyword += c.getAmountOfKeyword("If a creature with a magnet counter on it attacks, all creatures with magnet counters on them attack if able."); nKeyword += c.getAmountOfKeyword(keyword);
} }
return nKeyword; return nKeyword;
} }