fixed Agent of Treachery triggering incorrectly

This commit is contained in:
Evan Kranzler 2019-06-27 19:34:21 -04:00
parent 35e9e5bd74
commit c8f6e7b360

View file

@ -65,7 +65,7 @@ enum AgentOfTreacheryCondition implements Condition {
return game.getBattlefield()
.getAllActivePermanents(source.getControllerId())
.stream()
.map(permanent -> !permanent.getOwnerId().equals(source.getControllerId()))
.filter(permanent -> !permanent.getOwnerId().equals(source.getControllerId()))
.count() > 2;
}
}