Update ReyhanLastOfTheAbzan.java

This commit is contained in:
SpikesCafe-google 2018-01-21 10:37:32 -05:00 committed by GitHub
parent f0e1eaa8e8
commit 7d6e9c51e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -118,10 +118,15 @@ class ReyhanLastOfTheAbzanTriggeredAbility extends TriggeredAbilityImpl {
return false;
}
// A creature
Permanent permanent = (Permanent) game.getLastKnownInformation(event.getTargetId(), Zone.BATTLEFIELD);
Player player = game.getPlayer(source.getControllerId());
// A creature you control
if (player == null || !player.equals(this.getControllerId()) || permanent == null || !permanent.isCreature()) {
if (permanent == null || !permanent.isCreature()) {
return false;
}
// You control
Player player = game.getPlayer(this.getControllerId());
if (player == null || !player.getId().equals(this.getControllerId())) {
return false;
}