AttachAi: fixed from variable name

This commit is contained in:
Hanmac
2016-05-26 11:11:54 +00:00
parent 6a41b928f2
commit 6684a597de

View File

@@ -715,7 +715,7 @@ public class AttachAi extends SpellAbilityAi {
return false; return false;
} }
// don't equip creatures that don't gain anything // don't equip creatures that don't gain anything
if (card.hasSVar("NonStackingAttachEffect") && newTarget.isEquippedBy(equipment.getName())) { if (card.hasSVar("NonStackingAttachEffect") && newTarget.isEquippedBy(card.getName())) {
return false; return false;
} }
} }