forked from External/mage
Fixed Deck generator that put very high rated cards even if they didn't fit the selected colors. Fixed bug in grouping attachments.
This commit is contained in:
parent
881f162056
commit
b20b572f60
2 changed files with 2 additions and 1 deletions
|
|
@ -146,6 +146,7 @@ public class BattlefieldPanel extends javax.swing.JLayeredPane implements Compon
|
|||
|
||||
private void groupAttachments(PermanentView permanent) {
|
||||
MagePermanent perm = permanents.get(permanent.getId());
|
||||
if (perm == null) return;
|
||||
int position = getPosition(perm);
|
||||
perm.getLinks().clear();
|
||||
Rectangle r = perm.getBounds();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue