Added test for Mana Flare.

This commit is contained in:
LevelX2 2015-06-04 14:48:06 +02:00
parent b583f616bf
commit ca9ee416e8
3 changed files with 92 additions and 1 deletions

View file

@ -54,7 +54,7 @@ public class AddManaOfAnyTypeProducedEffect extends ManaEffect {
@Override
public boolean apply(Game game, Ability source) {
Permanent permanent = game.getPermanent(this.targetPointer.getFirst(game, source));
Permanent permanent = game.getPermanent(getTargetPointer().getFirst(game, source));
if (permanent != null) {
Player targetController = game.getPlayer(permanent.getControllerId());
if (targetController == null) {