* Added a test related to #4539.

This commit is contained in:
LevelX2 2018-02-20 16:16:26 +01:00
parent d09aacdbfb
commit 89b6aeacd6
3 changed files with 41 additions and 7 deletions

View file

@ -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()) {
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());