Small fixes: returned text component in card plugin for rules. Removed debug logging. Fixed NullPointerException for attached cards.

This commit is contained in:
magenoxx 2010-11-13 06:47:50 +00:00
parent 58c4ae1f38
commit e4c01b0693
4 changed files with 13 additions and 6 deletions

View file

@ -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));
}