mirror of
https://github.com/correl/mage.git
synced 2025-01-11 19:13:02 +00:00
fix Issue 182
This commit is contained in:
parent
6d7af86e71
commit
d4ef4b24c3
1 changed files with 4 additions and 2 deletions
|
@ -28,6 +28,8 @@
|
|||
package mage.sets.newphyrexia;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.Constants;
|
||||
import mage.Constants.CardType;
|
||||
import mage.Constants.Outcome;
|
||||
import mage.Constants.Rarity;
|
||||
|
@ -42,7 +44,7 @@ import mage.target.TargetPermanent;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author North
|
||||
* @author North, Loki
|
||||
*/
|
||||
public class BeastWithin extends CardImpl<BeastWithin> {
|
||||
|
||||
|
@ -84,7 +86,7 @@ class BeastWithinEffect extends OneShotEffect<BeastWithinEffect> {
|
|||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Permanent permanent = game.getPermanent(source.getFirstTarget());
|
||||
Permanent permanent = (Permanent) game.getLastKnownInformation(targetPointer.getFirst(source), Constants.Zone.BATTLEFIELD);
|
||||
if (permanent != null) {
|
||||
BeastToken token = new BeastToken();
|
||||
token.putOntoBattlefield(game, source.getId(), permanent.getControllerId());
|
||||
|
|
Loading…
Reference in a new issue