Skip to content

Commit 517594e

Browse files
committed
#1731 Fix plugin imports
1 parent 27d745c commit 517594e

File tree

7 files changed

+35
-5
lines changed

7 files changed

+35
-5
lines changed

.pkgmeta

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ move-folders:
5757
GSE/GSE_Utils: GSE_Utils
5858
GSE/GSE_Personal: GSE_Personal
5959
GSE/GSE_QoL: GSE_QoL
60+
GSE/GSE_Options: GSE_Options
6061

6162
enable-nolib-creation: no
6263

GSE_Options/GSE_Options.toc

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
## Interface: 110007, 40401, 11506, 110100
2+
3+
## Title: |cFFFFFFFFGS|r|cFF00FFFFE|r |cFF808080Utility Functions|r
4+
## Notes: GSE Configuration Options
5+
## Author: TimothyLuke
6+
## Version: @project-version@
7+
## Dependencies: GSE_Utils
8+
## IconTexture: Interface\Addons\GSE_GUI\Assets\GSE_Logo_Dark_512
9+
## Category-enUS: Combat
10+
## Category-deDE: Kampf
11+
## Category-esES: Combate
12+
## Category-esMX: Combate
13+
## Category-frFR: Combat
14+
## Category-itIT: Combattimento
15+
## Category-koKR: 전투
16+
## Category-ptBR: Combate
17+
## Category-ruRU: Бой
18+
## Category-zhCN: 战斗
19+
## Category-zhTW: 戰鬥
20+
## Group: GSE
21+
22+
23+
Options.lua

GSE_Utils/Options.lua GSE_Options/Options.lua

+2
Original file line numberDiff line numberDiff line change
@@ -1240,3 +1240,5 @@ function GSE:CreateConfigPanels()
12401240
registered = true
12411241
end
12421242
end
1243+
1244+
GSE:CreateConfigPanels()

GSE_Utils/Events.lua

+1-2
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,7 @@ function GSE:UNIT_SPELLCAST_SUCCEEDED(event, unit, action)
117117
end
118118
end
119119
else
120-
---@diagnostic disable-next-line: deprecated
121-
local spell, _, _, _, _, _ = GetSpellInfo(elements[6])
120+
local spell, _, _, _, _, _ = C_Spell.GetSpellInfo(elements[6])
122121
local fskilltype, _ = GetSpellBookItemInfo(spell)
123122
if not GSE.isEmpty(fskilltype) then
124123
if GSE.RecorderActive then

GSE_Utils/GSE_Utils.toc

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ Lib\LibSharedMedia-3.0\LibSharedMedia-3.0.lua
2929

3030
Patrons.lua
3131
Indent.lua
32-
Options.lua
3332
Events.lua
3433
StaticPopup.lua
3534
Utils.lua

GSE_Utils/Utils.lua

+7-2
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,14 @@ end
294294

295295
--- Load a serialised Sequence
296296
function GSE.ImportSerialisedSequence(importstring, forcereplace)
297-
local decompresssuccess, actiontable = GSE.DecodeMessage(importstring)
297+
local decompresssuccess, actiontable
298+
if type(importstring) == "table" then
299+
decompresssuccess, actiontable = true, importstring
300+
else
301+
decompresssuccess, actiontable = GSE.DecodeMessage(importstring)
302+
end
298303
GSE.PrintDebugMessage(string.format("Decomsuccess: %s ", tostring(decompresssuccess)), Statics.SourceTransmission)
304+
299305
if decompresssuccess and actiontable then
300306
if actiontable.type == "COLLECTION" then
301307
actiontable = actiontable.payload
@@ -775,6 +781,5 @@ colorTable["/cast"] = castColor
775781
colorTable[0] = "|r"
776782

777783
Statics.IndentationColorTable = colorTable
778-
GSE:CreateConfigPanels()
779784

780785
GSE.Utils = true

patreonBuild.js

+1
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ async.waterfall(
147147
async.apply(updateToc, "GSE_GUI", "GSE_GUI"),
148148
async.apply(updateToc, "GSE_LDB", "GSE_LDB"),
149149
async.apply(updateToc, "GSE_Utils", "GSE_Utils"),
150+
async.apply(updateToc, "GSE_Options", "GSE_Options"),
150151
deleteExistingZips,
151152
addExtras,
152153
createArchive,

0 commit comments

Comments
 (0)