mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
Merge branch 'kefnet' into 'master'
God-Eternal Kefnet: Fix NPE See merge request core-developers/forge!4215
This commit is contained in:
@@ -65,7 +65,7 @@ public class RevealAi extends RevealAiBase {
|
|||||||
for (SpellAbility s : c.getBasicSpells()) {
|
for (SpellAbility s : c.getBasicSpells()) {
|
||||||
Spell spell = (Spell) s.copy(ai);
|
Spell spell = (Spell) s.copy(ai);
|
||||||
// timing restrictions still apply
|
// timing restrictions still apply
|
||||||
if (!s.getRestrictions().checkTimingRestrictions(c, s))
|
if (!spell.getRestrictions().checkTimingRestrictions(c, spell))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// use hard coded reduce cost
|
// use hard coded reduce cost
|
||||||
|
|||||||
Reference in New Issue
Block a user