mirror of
https://github.com/correl/mage.git
synced 2025-03-31 17:00:10 -09:00
Fixed Condemn.
This commit is contained in:
parent
b9dd394f57
commit
ec7da844a4
1 changed files with 3 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue