* Unexpectedly Absent - Fixed that the target permanent was put to the wrong position in library.

This commit is contained in:
LevelX2 2018-07-16 17:43:01 +02:00
parent 711c34b34f
commit 014a46ae72
2 changed files with 34 additions and 3 deletions

View file

@ -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;
}
}