mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
Fix NPE
This commit is contained in:
@@ -270,7 +270,7 @@ public final class CMatchUI
|
||||
* View deck list.
|
||||
*/
|
||||
public void viewDeckList() {
|
||||
if (!isInGame()) {
|
||||
if (!isInGame() || getCurrentPlayer() == null) {
|
||||
return;
|
||||
}
|
||||
final Deck deck = getGameView().getDeck(getCurrentPlayer());
|
||||
|
||||
Reference in New Issue
Block a user