mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Fix crash related to the legendary rule
This commit is contained in:
@@ -86,7 +86,8 @@ public final class AbilitySub extends SpellAbility implements java.io.Serializab
|
|||||||
this.setTargetRestrictions(tgt);
|
this.setTargetRestrictions(tgt);
|
||||||
|
|
||||||
api = api0;
|
api = api0;
|
||||||
mapParams.putAll(params0);
|
if (params0 != null)
|
||||||
|
mapParams.putAll(params0);
|
||||||
effect = api.getSpellEffect();
|
effect = api.getSpellEffect();
|
||||||
|
|
||||||
if (effect instanceof ManaEffect || effect instanceof ManaReflectedEffect) {
|
if (effect instanceof ManaEffect || effect instanceof ManaReflectedEffect) {
|
||||||
|
|||||||
Reference in New Issue
Block a user