Skip to content

Commit

Permalink
Update compatibility with Patch 11.0.5.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravendwyr committed Nov 3, 2024
1 parent 6098c02 commit 4dbb2e7
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 14 deletions.
15 changes: 15 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
{
"Lua.diagnostics.disable": [
"undefined-field"
],
"Lua.runtime.version": "Lua 5.1",
"Lua.runtime.builtin": {
"basic": "disable",
"debug": "disable",
"io": "disable",
"math": "disable",
"os": "disable",
"package": "disable",
"string": "disable",
"table": "disable",
"utf8": "disable"
},
"Lua.workspace.library": [
"~\\.vscode\\extensions\\ketho.wow-api-0.17.6\\Annotations"
]
}
8 changes: 4 additions & 4 deletions Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ local notes = {
-- upvalues
local C_Calendar = _G.C_Calendar
local C_DateAndTime = _G.C_DateAndTime
local C_QuestLog = _G.C_QuestLog
local C_Map = _G.C_Map
local C_QuestLog = _G.C_QuestLog
local C_Reputation = _G.C_Reputation
local C_Timer_After = _G.C_Timer.After
local GameTooltip = _G.GameTooltip
local GetFactionInfoByID = _G.GetFactionInfoByID
local IsControlKeyDown = _G.IsControlKeyDown
local UIParent = _G.UIParent
local UnitFactionGroup = _G.UnitFactionGroup
Expand Down Expand Up @@ -268,12 +268,12 @@ function HallowsEnd:OnEnable()
local aldor = C_Reputation.GetFactionDataByID(932)
local scryers = C_Reputation.GetFactionDataByID(934)

if aldor.reaction >= 4 then
if aldor and aldor.reaction >= 4 then
points[104][61002820] = 12409 -- Altar of Sha'tar
points[111][28104900] = 12404 -- Aldor Rise
end

if scryers.reaction >= 4 then
if scryers and scryers.reaction >= 4 then
points[104][56305980] = 12409 -- Sanctum of the Stars
points[111][56208180] = 12404 -- Scryer's Tier
end
Expand Down
8 changes: 4 additions & 4 deletions HandyNotes_HallowsEnd.toc
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
## Interface: 110000
## Interface: 110005
## Title: HandyNotes: Hallow's End
## Notes: Displays the locations of Hallow's End candy buckets.
## Notes: Marks the locations of Hallow's End candy buckets on the worldmap and minimap.
## IconTexture: Interface\Icons\Achievement_Halloween_Candy_01
## Author: Ravendwyr
## Version: @project-version@
## SavedVariables: HandyNotes_HallowsEndDB
## RequiredDeps: HandyNotes
## X-Category: Map & Minimap
## X-Curse-Project-ID: 46114
## X-Wago-ID: Rn6VDWGd
## Dependencies: HandyNotes
## SavedVariables: HandyNotes_HallowsEndDB

Core.lua

Expand Down
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ This addon should work for everyone regardless of language, but most of the text

### Support

[![Telegram](https://img.shields.io/badge/Telegram-contact-lightgray?style=flat-square&logo=telegram)](https://t.me/ravendwyr)
[![Twitch](https://img.shields.io/twitch/status/ravendwyr?style=flat-square&logo=twitch&label=Twitch)](https://www.twitch.tv/ravendwyr)
[![Discord](https://img.shields.io/discord/299308204393889802?style=flat-square&logo=discord&label=Discord)](https://discord.gg/rKWQ4HsXtt)
[![Mastodon](https://img.shields.io/mastodon/follow/110671875370528026?domain=https%3A%2F%2Fgamepad.club&style=flat-square&logo=mastodon&label=Mastodon)](https://gamepad.club/@ravendwyr)
[![Linktree](https://img.shields.io/badge/Linktree-socials-yellow?style=flat-square&logo=linktree)](https://linktr.ee/ravendwyr)

[![GitHub](https://img.shields.io/badge/GitHub-sponsor-yellow?style=flat-square&logo=github%20sponsors)](https://github.com/sponsors/Ravendwyr)
[![Coffee](https://img.shields.io/badge/KoFi-support-yellow?style=flat-square&logo=kofi)](https://ko-fi.com/Ravendwyr)
[![Twitch](https://img.shields.io/badge/Twitch-subscribe-yellow?style=flat-square&logo=twitch)](https://www.twitch.tv/subs/ravendwyr)
[![KoFi](https://img.shields.io/badge/KoFi-support-yellow?style=flat-square&logo=kofi)](https://ko-fi.com/Ravendwyr)

0 comments on commit 4dbb2e7

Please sign in to comment.