forked from External/mage
* Borrowing 100,000 Arrows - Fixed a NPE bug if card drawing effect was applied.
This commit is contained in:
parent
b2db30a3c8
commit
24ed0885ca
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ class Borrowing100000ArrowsEffect extends OneShotEffect<Borrowing100000ArrowsEff
|
|||
FilterCreaturePermanent filter = new FilterCreaturePermanent();
|
||||
filter.add(new TappedPredicate());
|
||||
filter.add(new ControllerIdPredicate(opponent.getId()));
|
||||
return new DrawCardSourceControllerEffect(game.getBattlefield().count(filter, source.getSourceId(), source.getSourceId(), game)).apply(game, source);
|
||||
return new DrawCardSourceControllerEffect(game.getBattlefield().count(filter, source.getSourceId(), source.getControllerId(), game)).apply(game, source);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue