mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
- Fixed a possible NPE in getUsableManaSources.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user