- Fix crash related to the legendary rule

This commit is contained in:
Sol
2014-02-11 01:15:16 +00:00
parent bebe569d10
commit 4d00ab3ecf

View File

@@ -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) {