diff --git a/FollowerRecruiting.lua b/FollowerRecruiting.lua index e9f4bc2..61b1b44 100644 --- a/FollowerRecruiting.lua +++ b/FollowerRecruiting.lua @@ -1,3 +1,4 @@ +---@diagnostic disable: unused-local, undefined-global local me,ns=... ns.Configure() local addon=addon diff --git a/GarrisonCommander-Broker/GarrisonCommander-Broker.toc b/GarrisonCommander-Broker/GarrisonCommander-Broker.toc index ae37273..e1ef9c1 100644 --- a/GarrisonCommander-Broker/GarrisonCommander-Broker.toc +++ b/GarrisonCommander-Broker/GarrisonCommander-Broker.toc @@ -1,4 +1,4 @@ -## Interface: 110000,110002 +## Interface: 110005,110005 ## Title: GarrisonCommander-Broker ## Notes: Data-Broker for GarrisonCommander ## Notes-itIT: Data-Broker per GarrisonCommander diff --git a/GarrisonCommander.lua b/GarrisonCommander.lua index 48cc2ea..8cf8e25 100644 --- a/GarrisonCommander.lua +++ b/GarrisonCommander.lua @@ -1,3 +1,4 @@ +---@diagnostic disable: unused-local, undefined-global, unused-local, undefined-global local me, ns = ... local toc=select(4,GetBuildInfo()) local pp=print @@ -31,7 +32,6 @@ local LE_FOLLOWER_TYPE_SHIPYARD_6_2=Enum.GarrisonFollowerType.FollowerType_6_0_B local LE_FOLLOWER_TYPE_GARRISON_7_0=Enum.GarrisonFollowerType.FollowerType_7_0_GarrisonFollower local LE_FOLLOWER_TYPE_GARRISON_8_0=Enum.GarrisonFollowerType.FollowerType_8_0_GarrisonFollower local LE_GARRISON_TYPE_6_0=Enum.GarrisonType.Type_6_0_Garrison -local LE_GARRISON_TYPE_6_2=Enum.GarrisonType.Type_6_2_Garrison local LE_GARRISON_TYPE_7_0=Enum.GarrisonType.Type_7_0_Garrison local LE_GARRISON_TYPE_8_0=Enum.GarrisonType.Type_8_0_Garrison local GARRISON_MISSION_AVAILABILITY1=GARRISON_MISSION_AVAILABILITY..'\n %s' @@ -173,9 +173,9 @@ local function ShowTT(this) GameTooltip:SetText(this.tooltip) GameTooltip:Show() end -local function FadeTT(this) - GameTooltip:Fade() -end +-- local function FadeTT(this) +-- GameTooltip:Fade() +-- end local function HideTT(this) GameTooltip:Hide() end @@ -1142,9 +1142,6 @@ function addon:AddOptionToOptionsLayer(o,flag,maxsize) end return maxsize end -function addon:GetMain() - return GMF -end function addon:CreateHeader(module,MOVEPANEL,PIN) if not module then module=self end -- Main Garrison Commander Header diff --git a/GarrisonCommander.toc b/GarrisonCommander.toc index f9bc2dd..88e1921 100644 --- a/GarrisonCommander.toc +++ b/GarrisonCommander.toc @@ -1,4 +1,4 @@ -## Interface: 110000,110002 +## Interface: 110005,110005 ## Title: GarrisonCommander ## IconTexture: 134414 ## Notes: Sending all follower to missions with just one click and more diff --git a/Init.lua b/Init.lua index db9f8be..2c4ce73 100644 --- a/Init.lua +++ b/Init.lua @@ -36,7 +36,7 @@ if not ns.GMF then print("GarrisonCommander is being loaded before Blizzard_GarrisonUI is available") print(GetTime()) --@end-debug@ - LoadAddOn("Blizzard_GarrisonUI") + C_AddOns.LoadAddOn("Blizzard_GarrisonUI") --@debug@ print(GetTime()) --@end-debug@ diff --git a/RelNotes.lua b/RelNotes.lua index 078c7f7..9dc8575 100644 --- a/RelNotes.lua +++ b/RelNotes.lua @@ -23,6 +23,10 @@ self:Wiki([[ typing /gac silent in chat will eliminate every chat message from GarrisonCommander ]]) self:HF_Paragraph('Release Notes') +self:RelNotes(3,10,0,[[ +Toc: Update for 11.0.5 +Fix: Removed non longer existing functions +]]) self:RelNotes(3,9,2,[[ Fix: Was still using removed function ]]) diff --git a/loader/GarrisonCommanderLoader.toc b/loader/GarrisonCommanderLoader.toc index 2ceee3d..41edad4 100644 --- a/loader/GarrisonCommanderLoader.toc +++ b/loader/GarrisonCommanderLoader.toc @@ -1,4 +1,4 @@ -## Interface: 110000,110002 +## Interface: 110005,110005 ## Title: GarrisonCommanderLoader (Draenor mission assistant loader) ## Notes: Loads GarrisonCommander only when you open the commander table ## Author: Alar of Runetotem diff --git a/loader/loader.lua b/loader/loader.lua index b4691ff..bac144b 100644 --- a/loader/loader.lua +++ b/loader/loader.lua @@ -19,7 +19,7 @@ end ns:RegisterEvent("ADDON_LOADED",pp) --]] if C_Garrison.IsOnGarrisonMap() then - LoadAddOn("GarrisonCommander") + C_AddOns.LoadAddOn("GarrisonCommander") end ns:RegisterEvent("ZONE_CHANGED_NEW_AREA") ns:RegisterEvent("ZONE_CHANGED","ZONE_CHANGED_NEW_AREA")