mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Fixed a possible NPE in getUsableManaSources.
This commit is contained in:
@@ -883,6 +883,7 @@ public class ComputerUtilCard {
|
|||||||
@Override
|
@Override
|
||||||
public boolean apply(final Card c) {
|
public boolean apply(final Card c) {
|
||||||
for (final SpellAbility am : c.getAIPlayableMana()) {
|
for (final SpellAbility am : c.getAIPlayableMana()) {
|
||||||
|
am.setActivatingPlayer(player);
|
||||||
if (am.canPlay()) {
|
if (am.canPlay()) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user