mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
* Unexpectedly Absent - Fixed that the target permanent was put to the wrong position in library.
This commit is contained in:
parent
711c34b34f
commit
014a46ae72
2 changed files with 34 additions and 3 deletions
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
package mage.cards.u;
|
||||
|
||||
import java.util.UUID;
|
||||
|
|
@ -61,7 +60,7 @@ class UnexpectedlyAbsentEffect extends OneShotEffect {
|
|||
if (controller != null) {
|
||||
Permanent permanent = game.getPermanent(this.getTargetPointer().getFirst(game, source));
|
||||
if (permanent != null) {
|
||||
controller.putCardOnTopXOfLibrary(permanent, game, source, source.getManaCostsToPay().getX());
|
||||
controller.putCardOnTopXOfLibrary(permanent, game, source, source.getManaCostsToPay().getX() + 1);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue