* Fixed a bug that prevented most continuous effects from recognizing if a permanent made zone changes and so the permanent was considered as a valid target even if the permanent changed zones (e.g. was Cloudshifted).

This commit is contained in:
LevelX2 2014-04-05 02:51:11 +02:00
parent 042552aa1e
commit d031b93fd4
15 changed files with 39 additions and 41 deletions

View file

@ -1227,8 +1227,8 @@ public abstract class GameImpl<T extends GameImpl<T>> implements Game, Serializa
}
}
List<Permanent> planeswalkers = new ArrayList<Permanent>();
List<Permanent> legendary = new ArrayList<Permanent>();
List<Permanent> planeswalkers = new ArrayList<>();
List<Permanent> legendary = new ArrayList<>();
for (Permanent perm: getBattlefield().getAllActivePermanents()) {
if (perm.getCardType().contains(CardType.CREATURE)) {
//20091005 - 704.5f