mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Fixed NPE caused by Bestow.
This commit is contained in:
@@ -735,7 +735,7 @@ public class AttachAi extends SpellAbilityAi {
|
|||||||
Card c = null;
|
Card c = null;
|
||||||
List<Card> magnetList = null;
|
List<Card> magnetList = null;
|
||||||
String stCheck = null;
|
String stCheck = null;
|
||||||
if (attachSource.isAura()) {
|
if (attachSource.isAura() || sa.hasParam("Bestow")) {
|
||||||
stCheck = "EnchantedBy";
|
stCheck = "EnchantedBy";
|
||||||
magnetList = CardLists.filter(list, new Predicate<Card>() {
|
magnetList = CardLists.filter(list, new Predicate<Card>() {
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user