- Fixed a possible NPE in getUsableManaSources.

This commit is contained in:
Sloth
2013-04-07 09:19:55 +00:00
parent b2582de885
commit b4c0cdb937

View File

@@ -883,6 +883,7 @@ public class ComputerUtilCard {
@Override
public boolean apply(final Card c) {
for (final SpellAbility am : c.getAIPlayableMana()) {
am.setActivatingPlayer(player);
if (am.canPlay()) {
return true;
}