mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
[DMC] fix The Peregrine Dynamo targeting
This commit is contained in:
parent
213b5fddc6
commit
711b864dfe
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ enum ThePeregrineDynamoPredicate implements ObjectSourcePlayerPredicate<StackObj
|
|||
if (!(input.getObject() instanceof StackAbility)) {
|
||||
return false;
|
||||
}
|
||||
MageObject sourceObject = input.getSource().getSourceObject(game);
|
||||
MageObject sourceObject = ((StackAbility) input.getObject()).getSourceObject(game);
|
||||
return sourceObject != null
|
||||
&& !sourceObject.getId().equals(input.getSourceId())
|
||||
&& sourceObject.isLegendary()
|
||||
|
|
Loading…
Reference in a new issue