mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 20:29:19 -08: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…
Add table
Add a link
Reference in a new issue