forked from External/mage
* Some minor changes.
This commit is contained in:
parent
1694daa4ab
commit
6244046330
9 changed files with 24 additions and 29 deletions
|
|
@ -613,7 +613,7 @@ public class GameController implements GameCallback {
|
|||
if (viewLimitedDeckPlayer != null) {
|
||||
if (viewLimitedDeckPlayer.isHuman()) {
|
||||
for (MatchPlayer p : TableManager.instance.getTable(tableId).getMatch().getPlayers()) {
|
||||
if (p.getPlayer().getId() == userIdRequester) {
|
||||
if (p.getPlayer().getId().equals(userIdRequester)) {
|
||||
Optional<User> u = UserManager.instance.getUser(origId);
|
||||
if (u != null && u.isPresent() && p.getDeck() != null) {
|
||||
u.get().ccViewLimitedDeck(p.getDeck(), tableId, requestsOpen, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue