forked from External/mage
Test framework: added real time card type check (#4936);
This commit is contained in:
parent
bec43e8d31
commit
4c899a25bd
5 changed files with 43 additions and 6 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue