Ghostly Prison fix

This commit is contained in:
Loki 2011-05-27 00:24:04 +03:00
parent d45e5d024c
commit 8b576647b2

View file

@ -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;