Skip to content

Commit bdf66ce

Browse files
committed
Fix LibTalentTree:GetNodeGridPosition not returning any data
1 parent 2276aec commit bdf66ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

LibTalentTree-1.0.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-- the data for LibTalentTree will be loaded (and cached) from blizzard's APIs when the Lib loads
22
-- @curseforge-project-slug: libtalenttree@
33

4-
local MAJOR, MINOR = "LibTalentTree-1.0", 26;
4+
local MAJOR, MINOR = "LibTalentTree-1.0", 27;
55
--- @class LibTalentTree-1.0
66
local LibTalentTree = LibStub:NewLibrary(MAJOR, MINOR);
77

@@ -574,7 +574,7 @@ function LibTalentTree:GetNodeGridPosition(nodeID)
574574
return unpack(gridPositionCache[treeID][nodeID]);
575575
end
576576

577-
local posX, posY = self:GetNodePosition(treeID, nodeID);
577+
local posX, posY = self:GetNodePosition(nodeID);
578578
if (not posX or not posY) then return nil, nil; end
579579

580580
local offsetX = BASE_PAN_OFFSET_X - (CLASS_OFFSETS[classID] and CLASS_OFFSETS[classID].x or 0);

0 commit comments

Comments
 (0)