mirror of
https://github.com/correl/mage.git
synced 2025-03-29 17:00:07 -09:00
Fixed random game ends from 89b6aeacd6
This commit is contained in:
parent
4c88b8e6e3
commit
d7b19a1866
1 changed files with 1 additions and 1 deletions
|
@ -990,7 +990,7 @@ public class TableController {
|
|||
|| !match.isDoneSideboarding()
|
||||
|| (!matchPlayer.hasQuit() && match.getGame() != null && matchPlayer.getPlayer().isInGame())) {
|
||||
Optional<User> user = UserManager.instance.getUser(userPlayerEntry.getKey());
|
||||
if (!user.isPresent() || user.get().isActive()) {
|
||||
if (!user.isPresent() || !user.get().isActive()) {
|
||||
logger.warn("- Active user of match is missing: " + matchPlayer.getName());
|
||||
logger.warn("-- matchId:" + match.getId());
|
||||
logger.warn("-- userId:" + userPlayerEntry.getKey());
|
||||
|
|
Loading…
Add table
Reference in a new issue