forked from External/mage
GUI: fix that cheat button shows for all players instead current user only (related to #5289);
This commit is contained in:
parent
7cfe39ae21
commit
1045f352bc
3 changed files with 9 additions and 3 deletions
|
|
@ -494,7 +494,7 @@ public class PlayAreaPanel extends javax.swing.JPanel {
|
|||
}
|
||||
|
||||
public final void init(PlayerView player, BigCard bigCard, UUID gameId, int priorityTime) {
|
||||
this.playerPanel.init(gameId, player.getPlayerId(), bigCard, priorityTime);
|
||||
this.playerPanel.init(gameId, player.getPlayerId(), player.getControlled(), bigCard, priorityTime);
|
||||
this.battlefieldPanel.init(gameId, bigCard);
|
||||
this.gameId = gameId;
|
||||
this.playerId = player.getPlayerId();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue