mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18: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()) {
|
||||
Spell spell = (Spell) s.copy(ai);
|
||||
// timing restrictions still apply
|
||||
if (!s.getRestrictions().checkTimingRestrictions(c, s))
|
||||
if (!spell.getRestrictions().checkTimingRestrictions(c, spell))
|
||||
continue;
|
||||
|
||||
// use hard coded reduce cost
|
||||
|
||||
Reference in New Issue
Block a user