Fixed issue 171.

Also, removed some unused imports.
This commit is contained in:
North 2011-06-26 16:40:46 +03:00
parent 4344566cda
commit 67c1fc8ffa
5 changed files with 2 additions and 8 deletions

View file

@ -34,7 +34,7 @@ public class PermanentsOnBattlefieldCount implements DynamicValue {
@Override
public int calculate(Game game, Ability sourceAbility) {
return amount * game.getBattlefield().countAll(filter);
return amount * game.getBattlefield().count(filter, sourceAbility.getControllerId(), game);
}
@Override