Skip to content

Commit 686ed63

Browse files
committed
Fix a combat crash due to secret values
1 parent 3fbf473 commit 686ed63

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

Simulationcraft.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## IconTexture: Interface\Addons\SimulationCraft\logo
44
## Notes: Constructs SimC export strings
55
## Author: Theck, navv_, seriallos
6-
## Version: 12.0.1-02
6+
## Version: 12.0.1-03
77
## OptionalDependencies: Ace3, LibRealmInfo, LibDBIcon, LibDataBroker-1.1
88
## SavedVariables: SimulationCraftDB
99

core.lua

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,9 @@ function Simulationcraft:GetZandalariLoa()
654654
if spellId == nil then
655655
break
656656
end
657+
if issecretvalue(spellId) then
658+
break
659+
end
657660
if zandalariLoaBuffs[spellId] then
658661
zandalariLoa = zandalariLoaBuffs[spellId]
659662
break
@@ -1243,4 +1246,4 @@ LoadSpellsAsync()
12431246
-- Expose GetSimcProfile so addons can fetch the profile without goin through awkward wordarounds, added inside a global table so its easier to add more things under it later on if needed
12441247
SimulationcraftAPI = {
12451248
GetSimcProfile = Simulationcraft.GetSimcProfile
1246-
}
1249+
}

0 commit comments

Comments
 (0)