-Updated for Mists of Panderia patch 5.01
Xruptor [09-24-12 - 23:49]
-Updated for Mists of Panderia patch 5.01
diff --git a/RightClickSelfCast.lua b/RightClickSelfCast.lua
index abfd4f6..0425c7c 100644
--- a/RightClickSelfCast.lua
+++ b/RightClickSelfCast.lua
@@ -6,8 +6,8 @@ local bars = {
"MultiBarBottomRight",
"MultiBarRight",
"MultiBarLeft",
-"BonusActionBarFrame",
-"ShapeshiftBarFrame",
+--"BonusActionBarFrame",
+--"ShapeshiftBarFrame",
"PossessBarFrame",
}
@@ -31,7 +31,9 @@ function f:PLAYER_LOGIN()
-- Blizzard bars
for i, v in ipairs(bars) do
local bar = _G[v]
- bar:SetAttribute("unit2", "player")
+ if bar ~= nil then
+ bar:SetAttribute("unit2", "player")
+ end
end
-- this is for the mod ExtraBar (Author: Cowmonster)
diff --git a/RightClickSelfCast.toc b/RightClickSelfCast.toc
index 2c62989..5cf54cc 100644
--- a/RightClickSelfCast.toc
+++ b/RightClickSelfCast.toc
@@ -1,7 +1,7 @@
-## Interface: 40300
+## Interface: 50001
## Title: RightClickSelfCast
## Author: Xruptor
-## Version: 2.0
+## Version: 2.2
## Notes: Makes all the Blizzard actionbars always self-cast on right-click (regardless of current target)
RightClickSelfCast.lua
\ No newline at end of file