This commit is contained in:
tool4EvEr
2021-05-01 21:26:49 +02:00
parent ae26c7bc7a
commit 3a2ea56c92

View File

@@ -270,7 +270,7 @@ public final class CMatchUI
* View deck list. * View deck list.
*/ */
public void viewDeckList() { public void viewDeckList() {
if (!isInGame()) { if (!isInGame() || getCurrentPlayer() == null) {
return; return;
} }
final Deck deck = getGameView().getDeck(getCurrentPlayer()); final Deck deck = getGameView().getDeck(getCurrentPlayer());