Skip to content

Commit 1bb4c5a

Browse files
committed
Fix possible Lua error
1 parent 3d1452c commit 1bb4c5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ImprovedTalentLoadouts.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ local function CreateExportString(configInfo, configID, specID, skipEntryInfo)
447447
local treeID = TalentLoadouts:GetTreeID(configInfo)
448448
local treeHash = treeID and C_Traits.GetTreeHash(treeID);
449449

450-
if treeID and treeID == TalentLoadouts.treeID then
450+
if treeID and treeID == TalentLoadouts.treeID and C_Traits.GetTreeNodes(treeID) then
451451
local serializationVersion = C_Traits.GetLoadoutSerializationVersion()
452452
local dataStream = ExportUtil.MakeExportDataStream()
453453

0 commit comments

Comments
 (0)