Skip to content

Commit ea04b36

Browse files
committed
[Logic] Fix again.
1 parent 7000aa1 commit ea04b36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WoW API Wrappers.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ AssignAPIWrapper("GetItemInfoInstant", C_Item and C_Item.GetItemInfoInstant, Get
106106
AssignAPIWrapper("GetItemID", C_Item and C_Item.GetItemIDForItemInfo, GetItemInfoInstant)
107107
AssignAPIWrapper("GetItemInfo", C_Item and C_Item.GetItemInfo, GetItemInfo)
108108
AssignAPIWrapper("GetItemSpecInfo", C_Item and C_Item.GetItemSpecInfo, GetItemSpecInfo)
109-
if app.CURRENT_EXPANSION >= EXPANSION.LEGION then
109+
if app.GameBuildVersion >= 70000 then
110110
AssignAPIWrapper("IsArtifactRelicItem", C_ItemSocketInfo and C_ItemSocketInfo.IsArtifactRelicItem, IsArtifactRelicItem)
111111
end
112112
---@diagnostic enable: deprecated

0 commit comments

Comments
 (0)