fixed Dual Nature giving tokens to the wrong player

This commit is contained in:
Evan Kranzler 2017-09-21 10:11:42 -04:00
parent ee6d3c0fc9
commit a8bce93023

View file

@ -112,7 +112,7 @@ class DualNatureCreateTokenEffect extends OneShotEffect {
@Override
public boolean apply(Game game, Ability source) {
Permanent permanent = game.getPermanent(source.getSourceId());
Permanent permanent = game.getPermanentOrLKIBattlefield(this.getTargetPointer().getFirst(game, source));
if (permanent != null) {
CreateTokenCopyTargetEffect effect = new CreateTokenCopyTargetEffect(permanent.getControllerId());
effect.setTargetPointer(targetPointer);