mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 10:40:06 -08:00
A real fix for Glamer Spinners
This commit is contained in:
parent
94471f3126
commit
78281dbe69
1 changed files with 10 additions and 7 deletions
|
|
@ -116,8 +116,11 @@ class GlamerSpinnersEffect extends OneShotEffect {
|
||||||
}
|
}
|
||||||
// new list to avoid concurrent modification
|
// new list to avoid concurrent modification
|
||||||
for (UUID attachmentId : new LinkedList<>(targetPermanent.getAttachments())) {
|
for (UUID attachmentId : new LinkedList<>(targetPermanent.getAttachments())) {
|
||||||
|
Permanent attachment = game.getPermanent(attachmentId);
|
||||||
|
if (attachment != null && attachment.hasSubtype(SubType.AURA, game)) {
|
||||||
permanent.addAttachment(attachmentId, source, game);
|
permanent.addAttachment(attachmentId, source, game);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue