Skip to content

Commit

Permalink
Fixed for 11.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Alar of Runetotem committed Oct 29, 2024
1 parent 877a24a commit 7af6c52
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 12 deletions.
1 change: 1 addition & 0 deletions FollowerRecruiting.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---@diagnostic disable: unused-local, undefined-global
local me,ns=...
ns.Configure()
local addon=addon
Expand Down
2 changes: 1 addition & 1 deletion GarrisonCommander-Broker/GarrisonCommander-Broker.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 110000,110002
## Interface: 110005,110005
## Title: GarrisonCommander-Broker
## Notes: Data-Broker for GarrisonCommander
## Notes-itIT: Data-Broker per GarrisonCommander
Expand Down
11 changes: 4 additions & 7 deletions GarrisonCommander.lua
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion GarrisonCommander.toc
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion Init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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@
Expand Down
2 changes: 1 addition & 1 deletion loader/GarrisonCommanderLoader.toc
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion loader/loader.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 7af6c52

Please sign in to comment.