mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
* Divergent Transformations - Fixed that the targets were not exiled.
This commit is contained in:
parent
b7b7a97945
commit
82688fd6f2
1 changed files with 2 additions and 1 deletions
|
@ -28,6 +28,7 @@
|
|||
package mage.cards.d;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
import java.util.UUID;
|
||||
|
@ -99,7 +100,7 @@ class DivergentTransformationsEffect extends OneShotEffect {
|
|||
MageObject sourceObject = source.getSourceObject(game);
|
||||
if (controller != null && sourceObject != null) {
|
||||
List<UUID> controllerList = new ArrayList<>();
|
||||
Cards toExile = new CardsImpl();
|
||||
Set<Card> toExile = new HashSet<>();
|
||||
for (UUID targetId : getTargetPointer().getTargets(game, source)) {
|
||||
Permanent permanent = game.getPermanent(targetId);
|
||||
if (permanent != null) {
|
||||
|
|
Loading…
Reference in a new issue