mirror of
https://github.com/correl/mage.git
synced 2025-04-05 17:00:10 -09:00
* Fixed wrong user active check for table health.
This commit is contained in:
parent
4c88b8e6e3
commit
7e5f4f580d
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