diff --git a/FreshShit/__Ascension/Cooldowner/init.lua b/FreshShit/__Ascension/Cooldowner/init.lua index d7594e4..58a237d 100644 --- a/FreshShit/__Ascension/Cooldowner/init.lua +++ b/FreshShit/__Ascension/Cooldowner/init.lua @@ -37,11 +37,13 @@ aura_env.lookup = function() end end - aura_env.keybind = string.gsub(aura_env.keybind, "BUTTON", "B") - aura_env.keybind = string.gsub(aura_env.keybind, "SHIFT%-", "S") - aura_env.keybind = string.gsub(aura_env.keybind, "CTRL%-", "C") - aura_env.keybind = string.gsub(aura_env.keybind, "ALT%-", "A") - aura_env.keybind = string.gsub(aura_env.keybind, "SPACE", "Spb") + if aura_env.keybind then + aura_env.keybind = string.gsub(aura_env.keybind, "BUTTON", "B") + aura_env.keybind = string.gsub(aura_env.keybind, "SHIFT%-", "S") + aura_env.keybind = string.gsub(aura_env.keybind, "CTRL%-", "C") + aura_env.keybind = string.gsub(aura_env.keybind, "ALT%-", "A") + aura_env.keybind = string.gsub(aura_env.keybind, "SPACE", "Spb") + end aura_env.scanned = true end diff --git a/FreshShit/__Ascension/Cooldowner/test.lua b/FreshShit/__Ascension/Cooldowner/test.lua deleted file mode 100644 index 5f953ea..0000000 --- a/FreshShit/__Ascension/Cooldowner/test.lua +++ /dev/null @@ -1,41 +0,0 @@ -ElvUI_BarNButtonM -ACTIONBUTTON12 -GetBindingKey -ActionButton_GetPagedID("ActionButton12") -ActionButton_CalculateAction("ElvUI_Bar1Button1") -ActionButton_GetPagedID("ElvUI_Bar1Button1") -ElvUI_Bar1Button1:GetAttribute("action") -GetActionInfo(1) -DevTools_Dump(aura_env.state[2]) - -[2]={ - triggernum=2, - spellname="Shadow Word: Pain", - duration=7, - id="Test123", - expirationTime=20758.936, - show=false, - trigger={ - type="spell", - subeventSuffix="_CAST_START", - spellName=25368, -- !!!! - use_genericShowOn=true, - genericShowOn="showAlways", - unit="player", - realSpellName="Shadow Word: Pain", - use_spellName=true, - spellIds={ - }, - subeventPrefix="SPELL", - event="Cooldown Progress (Spell)", - names={ - }, - use_track=true, - debuffType="HELPFUL" - }, - name="Shadow Word: Pain", - autoHide=false, - changed=false, - icon="Interface\\Icons\\Spell_Shadow_ShadowWordPain", - progressType="timed" -}, \ No newline at end of file