mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Fixing Auras requesting SpellPermanent and causing a crash, since Auras no longer use the SpellPermanent class
This commit is contained in:
@@ -1086,7 +1086,8 @@ public class GameAction {
|
||||
if (c.isAura()) {
|
||||
// Check if Card Aura is attached to is a legal target
|
||||
final GameEntity entity = c.getEnchanting();
|
||||
final SpellAbility sa = c.getSpellPermanent();
|
||||
final SpellAbility sa = c.getSpells().get(0);;
|
||||
|
||||
Target tgt = null;
|
||||
if (sa != null) {
|
||||
tgt = sa.getTarget();
|
||||
|
||||
Reference in New Issue
Block a user