Player: run checkStaticAbilities before Companion to apply CDA

This commit is contained in:
Hans Mackowiak
2021-04-12 02:03:59 +02:00
parent a4deafa238
commit 023499a6c0

View File

@@ -3127,6 +3127,8 @@ public class Player extends GameEntity implements Comparable<Player> {
int deckSize = getCardsIn(ZoneType.Library).size();
int minSize = game.getMatch().getRules().getGameType().getDeckFormat().getMainRange().getMinimum();
game.getAction().checkStaticAbilities(false);
for (final Card c : getCardsIn(ZoneType.Sideboard)) {
for (KeywordInterface inst : c.getKeywords()) {
if (!(inst instanceof Companion)) {