mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
[MH2] fixed Dauthi Voidwalker not exiling permanents correctly (fixes #7905)
This commit is contained in:
parent
6d827c9b5e
commit
b5223a4279
1 changed files with 4 additions and 1 deletions
|
@ -80,7 +80,10 @@ class DauthiVoidwalkerReplacementEffect extends ReplacementEffectImpl {
|
|||
@Override
|
||||
public boolean replaceEvent(GameEvent event, Ability source, Game game) {
|
||||
Player player = game.getPlayer(source.getControllerId());
|
||||
Card card = game.getCard(event.getTargetId());
|
||||
Card card = ((ZoneChangeEvent) event).getTarget();
|
||||
if (card == null) {
|
||||
card = game.getCard(event.getTargetId());
|
||||
}
|
||||
if (player == null || card == null) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue