followup fix to #12058

This commit is contained in:
xenohedron 2024-04-12 23:24:56 -04:00
parent 8394429a47
commit 31295eb645

View file

@ -27,6 +27,7 @@ public enum ControlYourCommanderCondition implements Condition {
.flatMap(Collection::stream)
.map(game::getPermanent)
.filter(Objects::nonNull)
.filter(Permanent::isPhasedIn)
.map(Permanent::getOwnerId)
.anyMatch(source.getControllerId()::equals);
}