Skip to content

Commit

Permalink
Merge pull request #16 from Numynum/patch-1
Browse files Browse the repository at this point in the history
prevent the frame from loading and erroring outside of timerunning
  • Loading branch information
Larsj02 authored May 22, 2024
2 parents e00e5dd + af0561c commit f1bb7c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,7 @@ eventFrame:SetScript("OnEvent", function(_, event, ...)
end
end
if event ~= "PLAYER_ENTERING_WORLD" then return end
if 1 ~= PlayerGetTimerunningSeasonID() then return end

for itemID in pairs(const.GEM_SOCKET_TYPE) do
cache:CacheItemInfo(itemID)
Expand Down

0 comments on commit f1bb7c0

Please sign in to comment.