diff --git a/Mage.Sets/src/mage/sets/zendikar/NissasChosen.java b/Mage.Sets/src/mage/sets/zendikar/NissasChosen.java index b9f732d509..1ce2bc36f4 100644 --- a/Mage.Sets/src/mage/sets/zendikar/NissasChosen.java +++ b/Mage.Sets/src/mage/sets/zendikar/NissasChosen.java @@ -43,6 +43,7 @@ import mage.game.Game; import mage.game.events.GameEvent; import mage.game.events.GameEvent.EventType; import mage.game.events.ZoneChangeEvent; +import mage.game.permanent.Permanent; /** * @@ -96,9 +97,9 @@ class NissasChosenEffect extends ReplacementEffectImpl { @Override public boolean replaceEvent(GameEvent event, Ability source, Game game) { - Card card = game.getCard(event.getTargetId()); - if ( card != null ) { - return card.moveToZone(Zone.LIBRARY, source.getId(), game, false); + Permanent permanent = ((ZoneChangeEvent) event).getTarget(); + if (permanent != null) { + return permanent.moveToZone(Zone.LIBRARY, source.getSourceId(), game, false); } return false; }