Skip to content

Commit

Permalink
Fix Cluster Jewels not showing DPS stats in item crafter (PathOfBuild…
Browse files Browse the repository at this point in the history
…ingCommunity#5022)

Co-authored-by: LocalIdentity <localidentity2@gmail.com>
  • Loading branch information
LocalIdentity and LocalIdentity authored Sep 10, 2022
1 parent ef20732 commit 8ad40dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Modules/CalcSetup.lua
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ function calcs.initEnv(build, mode, override, specEnv)
for _, passive in pairs(env.modDB:List(nil, "GrantedPassive")) do
local node = env.spec.tree.notableMap[passive]
if node and (not override.removeNodes or not override.removeNodes[node.id]) then
env.allocNodes[node.id] = env.spec.nodes[node.id] -- use the conquered node data, if available
env.allocNodes[node.id] = env.spec.nodes[node.id] or node -- use the conquered node data, if available
env.grantedPassives[node.id] = true
end
end
Expand Down

0 comments on commit 8ad40dc

Please sign in to comment.