forked from External/mage
Sonar cleanups 03032019
This commit is contained in:
parent
f46f321635
commit
45f665eb1d
13 changed files with 37 additions and 41 deletions
|
|
@ -238,11 +238,7 @@ public class BattlefieldPanel extends javax.swing.JLayeredPane {
|
|||
cardDimension = new Dimension(Config.dimensions.getFrameWidth(), Config.dimensions.getFrameHeight());
|
||||
}
|
||||
final MagePermanent perm = Plugins.instance.getMagePermanent(permanent, bigCard, cardDimension, gameId, true);
|
||||
if (!Plugins.instance.isCardPluginLoaded()) {
|
||||
//perm.setBounds(findEmptySpace(new Dimension(Config.dimensions.frameWidth, Config.dimensions.frameHeight)));
|
||||
} else {
|
||||
//perm.setAlpha(0);
|
||||
}
|
||||
|
||||
permanents.put(permanent.getId(), perm);
|
||||
|
||||
BattlefieldPanel.this.jPanel.add(perm, 10);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue