From 5527c6ff8f51d772796788b9c83302e7113dd22f Mon Sep 17 00:00:00 2001 From: marisa-ashkandi <56484534+marisa-ashkandi@users.noreply.github.com> Date: Fri, 5 May 2023 00:19:02 -0700 Subject: [PATCH] Fix GetAddOnMetadata nil error on WotLK PTR Didn't test much, but everything I use seems to work fine --- ItemRack/ItemRack.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/ItemRack/ItemRack.lua b/ItemRack/ItemRack.lua index c7d497a..d58bd79 100644 --- a/ItemRack/ItemRack.lua +++ b/ItemRack/ItemRack.lua @@ -3,6 +3,7 @@ _G[addonName] = addon local _ +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata ItemRack.Version = GetAddOnMetadata(addonName, "Version") function ItemRack.IsClassic()