* Borrowing 100,000 Arrows - Fixed a NPE bug if card drawing effect was applied.

This commit is contained in:
LevelX2 2014-05-19 07:58:14 +02:00
parent b2db30a3c8
commit 24ed0885ca

View file

@ -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;
}