mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
- Fixed #5637
This commit is contained in:
parent
b638ef4fad
commit
efb357747d
1 changed files with 2 additions and 1 deletions
|
@ -48,7 +48,8 @@ public class CanAttackAsThoughItDidntHaveDefenderAllEffect extends AsThoughEffec
|
|||
@Override
|
||||
public boolean applies(UUID objectId, Ability source, UUID affectedControllerId, Game game) {
|
||||
Permanent permanent = game.getPermanent(objectId);
|
||||
return permanent != null && filter.match(permanent, source.getSourceId(), affectedControllerId, game);
|
||||
return permanent != null
|
||||
&& filter.match(permanent, source.getSourceId(), source.getControllerId(), game);
|
||||
}
|
||||
|
||||
private String getText() {
|
||||
|
|
Loading…
Reference in a new issue