mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
Small fixes: returned text component in card plugin for rules. Removed debug logging. Fixed NullPointerException for attached cards.
This commit is contained in:
parent
58c4ae1f38
commit
e4c01b0693
4 changed files with 13 additions and 6 deletions
|
|
@ -89,9 +89,9 @@ public class BattlefieldPanel extends javax.swing.JLayeredPane implements Compon
|
|||
public void init(UUID gameId, BigCard bigCard) {
|
||||
this.gameId = gameId;
|
||||
this.bigCard = bigCard;
|
||||
if (Plugins.getInstance().isCardPluginLoaded()) {
|
||||
/*if (Plugins.getInstance().isCardPluginLoaded()) {
|
||||
bigCard.removeTextComponent();
|
||||
}
|
||||
}*/
|
||||
addMouseListener(new MageMouseAdapter(this, gameId));
|
||||
addMouseMotionListener(new MageMouseMotionAdapter(this, bigCard));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue