mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
Ghostly Prison fix
This commit is contained in:
parent
d45e5d024c
commit
8b576647b2
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ class GhostlyPrisonReplacementEffect extends ReplacementEffectImpl<GhostlyPrison
|
|||
|
||||
@Override
|
||||
public boolean applies(GameEvent event, Ability source, Game game) {
|
||||
if ( event.getType() == GameEvent.EventType.DECLARE_ATTACKER ) {
|
||||
if ( event.getType() == GameEvent.EventType.DECLARE_ATTACKER && event.getTargetId().equals(source.getControllerId()) ) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue