Skip to content
This repository was archived by the owner on Oct 21, 2025. It is now read-only.

Commit befd86b

Browse files
committed
Check if gem data is set when calculating gem level in dropdown
Closes PathOfBuildingCommunity/PathOfBuilding-PoE2#248 Signed-off-by: Tomas Slusny <[email protected]>
1 parent 963eaef commit befd86b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Classes/SkillsTab.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -982,6 +982,9 @@ function SkillsTabClass:FindSkillGem(nameSpec)
982982
end
983983

984984
function SkillsTabClass:ProcessGemLevel(gemData)
985+
if not gemData then
986+
return 1
987+
end
985988
local grantedEffect = gemData.grantedEffect
986989
local naturalMaxLevel = gemData.naturalMaxLevel
987990
if self.defaultGemLevel == "awakenedMaximum" then

0 commit comments

Comments
 (0)