removed <filter>.getDefault()

This commit is contained in:
North 2011-10-23 12:17:14 +03:00
parent 4ccf0f799d
commit aa55beeb4e
110 changed files with 134 additions and 274 deletions

View file

@ -82,7 +82,7 @@ class MassPolymorphEffect extends OneShotEffect<MassPolymorphEffect> {
@Override
public boolean apply(Game game, Ability source) {
int count;
List<Permanent> creatures = game.getBattlefield().getAllActivePermanents(FilterCreaturePermanent.getDefault(), source.getControllerId());
List<Permanent> creatures = game.getBattlefield().getAllActivePermanents(new FilterCreaturePermanent(), source.getControllerId());
count = creatures.size();
for (Permanent creature: creatures) {
creature.moveToExile(null, null, source.getId(), game);