Test framework: added real time card type check (#4936);

This commit is contained in:
Oleg Agafonov 2019-04-22 19:42:25 +04:00
parent bec43e8d31
commit 4c899a25bd
5 changed files with 43 additions and 6 deletions

View file

@ -134,7 +134,7 @@ public interface Game extends MageItem, Serializable {
default boolean isActivePlayer(UUID playerId) {
return getActivePlayerId().equals(playerId);
return getActivePlayerId() != null && getActivePlayerId().equals(playerId);
}
/**