mirror of
https://github.com/correl/mage.git
synced 2025-01-12 11:08:01 +00:00
- Fixed #8848
This commit is contained in:
parent
1ceac773b7
commit
3650b19936
1 changed files with 3 additions and 0 deletions
|
@ -33,6 +33,9 @@ public class ExileCardYouChooseTargetOpponentEffect extends OneShotEffect {
|
|||
public boolean apply(Game game, Ability source) {
|
||||
Player controller = game.getPlayer(source.getControllerId());
|
||||
Player opponent = game.getPlayer(source.getFirstTarget());
|
||||
if (opponent == null) {
|
||||
opponent = game.getPlayer(targetPointer.getFirst(game, source));
|
||||
}
|
||||
if (controller == null || opponent == null) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue