mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
Fix Burning-Rune Demon not revealing cards
This commit is contained in:
parent
ca993eae39
commit
2631250bc0
1 changed files with 2 additions and 1 deletions
|
@ -91,6 +91,7 @@ class BurningRuneDemonEffect extends OneShotEffect {
|
|||
if (controller.searchLibrary(targetCardInLibrary, source, game)) {
|
||||
Cards cards = new CardsImpl(targetCardInLibrary.getTargets());
|
||||
if (!cards.isEmpty()) {
|
||||
controller.revealCards(source, cards, game);
|
||||
Player opponent;
|
||||
Set<UUID> opponents = game.getOpponents(controller.getId());
|
||||
if (opponents.size() == 1) {
|
||||
|
@ -106,7 +107,7 @@ class BurningRuneDemonEffect extends OneShotEffect {
|
|||
opponent.chooseTarget(outcome, cards, targetCard, source, game);
|
||||
Card cardToHand = game.getCard(targetCard.getFirstTarget());
|
||||
if (cardToHand != null) {
|
||||
controller.moveCards(cardToHand, Zone.HAND, source, game);
|
||||
controller.moveCardToHandWithInfo(cardToHand, source, game, true);
|
||||
cards.remove(cardToHand);
|
||||
}
|
||||
if (!cards.isEmpty()) {
|
||||
|
|
Loading…
Reference in a new issue