Fix global variable events

This commit is contained in:
Robin 2021-02-18 12:40:47 +01:00
parent 53450b19d3
commit 3f992696e7
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
local addonName, addon = ...
local events = events or CreateFrame("FRAME")
local events = addon['events'] or CreateFrame("FRAME")
local prices, pricesIlvl
local function getItem()
return AuctionHouseFrame.CommoditiesSellFrame.ItemDisplay.ItemButton:GetItemLocation() or AuctionHouseFrame.ItemSellFrame.ItemDisplay.ItemButton:GetItemLocation()