fixed Run Away Together not resolving

This commit is contained in:
Evan Kranzler 2019-09-25 12:26:32 -04:00
parent 720180ed93
commit 928058a192

View file

@ -70,8 +70,8 @@ class RunAwayTogetherTarget extends TargetCreaturePermanent {
.stream() .stream()
.map(game::getPermanent) .map(game::getPermanent)
.filter(Objects::nonNull) .filter(Objects::nonNull)
.noneMatch(permanent -> creature.getId().equals(permanent.getId()) .noneMatch(permanent -> !creature.getId().equals(permanent.getId())
|| creature.isControlledBy(permanent.getControllerId()) && creature.isControlledBy(permanent.getControllerId())
); );
} }
} }