1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-03-31 17:00:10 -09:00

Fixed Condemn.

This commit is contained in:
magenoxx 2011-11-15 09:23:39 +03:00
parent b9dd394f57
commit ec7da844a4

View file

@ -29,6 +29,8 @@
package mage.sets.tenth;
import java.util.UUID;
import mage.Constants;
import mage.Constants.CardType;
import mage.Constants.Outcome;
import mage.Constants.Rarity;
@ -86,7 +88,7 @@ class CondemnEffect extends OneShotEffect<CondemnEffect> {
@Override
public boolean apply(Game game, Ability source) {
Permanent permanent = game.getPermanent(source.getFirstTarget());
Permanent permanent = (Permanent)game.getLastKnownInformation(source.getFirstTarget(), Constants.Zone.BATTLEFIELD);
if (permanent != null) {
Player player = game.getPlayer(permanent.getControllerId());
if (player != null) {