check for null in judgeCard, just in case
This commit is contained in:
parent
18e51e9d04
commit
1849588bf7
|
@ -1225,7 +1225,9 @@ public class Game {
|
|||
return ErrorCode.NOT_YOUR_TURN;
|
||||
}
|
||||
|
||||
player.resetSkipCount();
|
||||
if (null != player) {
|
||||
player.resetSkipCount();
|
||||
}
|
||||
|
||||
cardPlayer = playedCards.getPlayerForId(cardId);
|
||||
if (cardPlayer == null) {
|
||||
|
|
Loading…
Reference in New Issue