mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 04:22:01 -08:00
fixed attachments appearing in front
This commit is contained in:
parent
83d11baa00
commit
2895a63b68
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ public class OldCardLayoutStrategy implements CardLayoutStrategy {
|
|||
jPanel.setPreferredSize(new Dimension(width - 30, height));
|
||||
|
||||
for (PermanentView permanent : ((BattlefieldPanel) jLayeredPane).getBattlefield().values()) {
|
||||
if (permanent.getAttachments() != null) {
|
||||
if (permanent.getAttachments() != null && permanent.getAttachments().size() > 0) {
|
||||
groupAttachments(jLayeredPane, jPanel, permanents, permanent);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue