forked from External/mage
Fixed a bug that user data was not set for players of tournaments (fixes #903).
This commit is contained in:
parent
b79d6e64cf
commit
ed9d0a5fc1
1 changed files with 1 additions and 0 deletions
|
|
@ -212,6 +212,7 @@ public class TableController {
|
|||
logger.debug("Player " + player.getName() + " id: "+ player.getId() + " joined tableId: " + table.getId());
|
||||
//only inform human players and add them to sessionPlayerMap
|
||||
if (seat.getPlayer().isHuman()) {
|
||||
seat.getPlayer().setUserData(user.getUserData());
|
||||
user.addTable(player.getId(), table);
|
||||
user.ccJoinedTable(table.getRoomId(), table.getId(), true);
|
||||
userPlayerMap.put(userId, player.getId());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue