mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Fix non-fatal error when starting a match.
This commit is contained in:
@@ -36,6 +36,7 @@ public abstract class AbstractGuiGame implements IGuiGame, IMayViewCards {
|
||||
|
||||
protected final void setLocalPlayers(final FCollectionView<PlayerView> players) {
|
||||
this.localPlayers = players;
|
||||
this.currentPlayer = Iterables.getFirst(players, null);
|
||||
}
|
||||
public final boolean hasLocalPlayers() {
|
||||
return localPlayers != null && !localPlayers.isEmpty();
|
||||
|
||||
Reference in New Issue
Block a user