mirror of
https://github.com/correl/mage.git
synced 2024-11-25 03:00:11 +00:00
Fix Niv-Mizzet Reborn revealing cards twice
This commit is contained in:
parent
24bd4315c6
commit
653cec11ef
1 changed files with 0 additions and 6 deletions
|
@ -1,7 +1,6 @@
|
|||
package mage.cards.n;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.MageObject;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
|
@ -14,11 +13,9 @@ import mage.game.Game;
|
|||
import mage.players.Player;
|
||||
import mage.target.TargetCard;
|
||||
import mage.target.common.TargetCardInLibrary;
|
||||
import mage.util.CardUtil;
|
||||
|
||||
import java.util.Objects;
|
||||
import java.util.UUID;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
|
@ -76,9 +73,6 @@ class NivMizzetRebornEffect extends OneShotEffect {
|
|||
return false;
|
||||
}
|
||||
Cards cards = new CardsImpl(player.getLibrary().getTopCards(game, 10));
|
||||
game.informPlayers(player.getLogName() + " reveals " + CardUtil.concatWithAnd(
|
||||
cards.getCards(game).stream().map(MageObject::getName).collect(Collectors.toList())
|
||||
));
|
||||
if (cards.isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue