forked from External/mage
[UI] Fixed Issue#454: Enchanted land position is not correct on the layout
This commit is contained in:
parent
bcb91dade1
commit
8ca8d80a5c
2 changed files with 10 additions and 4 deletions
|
|
@ -151,6 +151,11 @@ public class CardPluginImpl implements CardPlugin {
|
|||
}
|
||||
|
||||
Stack stack = new Stack();
|
||||
|
||||
if (permanent.getOriginalPermanent().getAttachments() != null) {
|
||||
stack.setMaxAttachedCount(permanent.getOriginalPermanent().getAttachments().size());
|
||||
}
|
||||
|
||||
stack.add(permanent);
|
||||
allLands.add(insertIndex == -1 ? allLands.size() : insertIndex, stack);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue