mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
fixed Dual Nature giving tokens to the wrong player
This commit is contained in:
parent
ee6d3c0fc9
commit
a8bce93023
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue