make sure NP_EnableUnitEventsGuid enabled
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
||||
## Interface: 11200
|
||||
## Title: Cursive 3.0.4
|
||||
## Title-zhCN: Cursive 3.0.4
|
||||
## Title: Cursive 3.0.5
|
||||
## Title-zhCN: Cursive 3.0.5
|
||||
## Author: Pepopo
|
||||
## Notes: Uses GUIDs to show units in combat and track curses
|
||||
## Notes-zhCN: 使用的GUID功能来显示战斗中的单位并监视诅咒等
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
if not Cursive.nampower then
|
||||
return
|
||||
end
|
||||
|
||||
local L = AceLibrary("AceLocale-2.2"):new("Cursive")
|
||||
local curseCommands = L["|cffffcc00Cursive:|cffffaaaa Commands:"]
|
||||
local priorityChoices = L["|cffffcc00Priority choices:"]
|
||||
|
||||
@@ -33,6 +33,11 @@ Cursive:RegisterEvent("ADDON_LOADED", function(name)
|
||||
DEFAULT_CHAT_FRAME:AddMessage("|cffff6060Cursive:|r Another addon disabled nampower spell go events. Re-enabling as they are required.")
|
||||
SetCVar("NP_EnableSpellGoEvents", 1)
|
||||
end
|
||||
|
||||
if GetCVar("NP_EnableUnitEventsGuid") ~= "1" then
|
||||
DEFAULT_CHAT_FRAME:AddMessage("|cffff6060Cursive:|r Another addon disabled nampower guid events. Re-enabling as they are required.")
|
||||
SetCVar("NP_EnableUnitEventsGuid", 1)
|
||||
end
|
||||
end)
|
||||
|
||||
function Cursive:OnEnable()
|
||||
@@ -42,6 +47,7 @@ function Cursive:OnEnable()
|
||||
|
||||
SetCVar("NP_EnableSpellStartEvents", 1)
|
||||
SetCVar("NP_EnableSpellGoEvents", 1)
|
||||
SetCVar("NP_EnableUnitEventsGuid", 1)
|
||||
|
||||
DEFAULT_CHAT_FRAME:AddMessage(L["|cffffcc00Cursive:|cffffaaaa Loaded. /cursive for commands and minimap icon for options."])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user