- Fixed NPE caused by Bestow.

This commit is contained in:
Sloth
2013-09-20 07:20:20 +00:00
parent 5ed5c9afbe
commit 015aa8f343

View File

@@ -735,7 +735,7 @@ public class AttachAi extends SpellAbilityAi {
Card c = null;
List<Card> magnetList = null;
String stCheck = null;
if (attachSource.isAura()) {
if (attachSource.isAura() || sa.hasParam("Bestow")) {
stCheck = "EnchantedBy";
magnetList = CardLists.filter(list, new Predicate<Card>() {
@Override