Skip to content

Commit

Permalink
Fix possible Lua error
Browse files Browse the repository at this point in the history
  • Loading branch information
Lardeck committed Sep 3, 2024
1 parent 3d1452c commit 1bb4c5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ImprovedTalentLoadouts.lua
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ local function CreateExportString(configInfo, configID, specID, skipEntryInfo)
local treeID = TalentLoadouts:GetTreeID(configInfo)
local treeHash = treeID and C_Traits.GetTreeHash(treeID);

if treeID and treeID == TalentLoadouts.treeID then
if treeID and treeID == TalentLoadouts.treeID and C_Traits.GetTreeNodes(treeID) then
local serializationVersion = C_Traits.GetLoadoutSerializationVersion()
local dataStream = ExportUtil.MakeExportDataStream()

Expand Down

0 comments on commit 1bb4c5a

Please sign in to comment.