typo fixed (related to #11068), added backup ability docs

This commit is contained in:
Oleg Agafonov 2023-08-31 06:06:47 +04:00
parent 22961162ad
commit 6768184e18
2 changed files with 30 additions and 1 deletions

View file

@ -35,7 +35,7 @@ public class CombatDamageByToughnessTargetEffect extends ContinuousEffectImpl {
public boolean apply(Game game, Ability source) {
Set<Permanent> set = targetPointer.getTargets(game, source).stream()
.map(game::getPermanent)
.filter(Objects::isNull)
.filter(Objects::nonNull)
.collect(Collectors.toSet());
FilterCreaturePermanent filter = new FilterCreaturePermanent();