From c8f6e7b360a2353fa6ed2d8f9a223c81f13ffc5b Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Thu, 27 Jun 2019 19:34:21 -0400 Subject: [PATCH] fixed Agent of Treachery triggering incorrectly --- Mage.Sets/src/mage/cards/a/AgentOfTreachery.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/cards/a/AgentOfTreachery.java b/Mage.Sets/src/mage/cards/a/AgentOfTreachery.java index 52a67d10a8..c4684d7c13 100644 --- a/Mage.Sets/src/mage/cards/a/AgentOfTreachery.java +++ b/Mage.Sets/src/mage/cards/a/AgentOfTreachery.java @@ -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; } -} \ No newline at end of file +}