Skip to content

Commit

Permalink
FIX: nil derefence when a non triggerable gem is socketed in Svalinn
Browse files Browse the repository at this point in the history
shield
  • Loading branch information
Paliak committed Jul 29, 2024
1 parent 0904a87 commit b6736cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Modules/CalcTriggers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1349,7 +1349,7 @@ local configTable = {
env.player.mainSkill.skillFlags.globalTrigger = true
return {source = env.player.mainSkill,
triggeredSkillCond = function(env, skill)
return slotMatch(env, skill) and calcLib.canGrantedEffectSupportActiveSkill(skill.triggeredBy.grantedEffect, skill)
return slotMatch(env, skill) and skill.triggeredBy and calcLib.canGrantedEffectSupportActiveSkill(skill.triggeredBy.grantedEffect, skill)
end}
end,
}
Expand Down

0 comments on commit b6736cd

Please sign in to comment.