Replaced use of source.getId() by source.getSourceId() for Mage Framework.

This commit is contained in:
LevelX2 2014-08-13 14:22:32 +02:00
parent 8b4c454f1f
commit 3bbbd4c02b
33 changed files with 47 additions and 45 deletions

View file

@ -62,7 +62,7 @@ public class DestroyAllControlledTargetEffect extends OneShotEffect {
@Override
public boolean apply(Game game, Ability source) {
for (Permanent permanent: game.getBattlefield().getAllActivePermanents(filter, source.getFirstTarget(), game)) {
permanent.destroy(source.getId(), game, false);
permanent.destroy(source.getSourceId(), game, false);
}
return true;
}