mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Fix Mindless Null
This commit is contained in:
parent
9f111984da
commit
612e53300b
1 changed files with 2 additions and 5 deletions
|
@ -90,14 +90,11 @@ class MindlessNullEffect extends RestrictionEffect {
|
|||
|
||||
@Override
|
||||
public boolean canBlock(Permanent attacker, Permanent blocker, Ability source, Game game) {
|
||||
return false;
|
||||
return !(game.getBattlefield().countAll(filter, source.getControllerId(), game) == 0);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean applies(Permanent permanent, Ability source, Game game) {
|
||||
if (game.getBattlefield().countAll(filter, source.getControllerId(), game) == 0) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
return permanent.getId().equals(source.getSourceId());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue