AttacksWithCreaturesTriggeredAbility - Fixed incorrect comparison to minAttackers (fixes #8228)

This commit is contained in:
Daniel Bomar 2021-09-06 11:06:48 -05:00
parent bccf56a988
commit 187e0736a0
No known key found for this signature in database
GPG key ID: C86C8658F4023918

View file

@ -56,7 +56,7 @@ public class AttacksWithCreaturesTriggeredAbility extends TriggeredAbilityImpl {
.stream()
.map(game::getPermanent)
.filter(permanent -> filter.match(permanent, sourceId, controllerId, game))
.mapToInt(x -> 1).sum() > minAttackers;
.mapToInt(x -> 1).sum() >= minAttackers;
}
@Override