mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
fix for Stuffy Doll
This commit is contained in:
parent
134266fe87
commit
e4c416c180
1 changed files with 3 additions and 1 deletions
|
@ -27,7 +27,6 @@
|
|||
*/
|
||||
package mage.sets.timespiral;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.Constants.CardType;
|
||||
import mage.Constants.Outcome;
|
||||
import mage.Constants.Rarity;
|
||||
|
@ -47,6 +46,8 @@ import mage.game.permanent.Permanent;
|
|||
import mage.players.Player;
|
||||
import mage.target.TargetPlayer;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author North
|
||||
|
@ -102,6 +103,7 @@ class StuffyDollChoosePlayerEffect extends OneShotEffect<StuffyDollChoosePlayerE
|
|||
Permanent permanent = game.getPermanent(source.getSourceId());
|
||||
if (player != null && permanent != null) {
|
||||
TargetPlayer target = new TargetPlayer();
|
||||
target.setRequired(true);
|
||||
if (player.choose(this.outcome, target, source.getId(), game)) {
|
||||
Player chosenPlayer = game.getPlayer(target.getFirstTarget());
|
||||
if (chosenPlayer != null) {
|
||||
|
|
Loading…
Reference in a new issue