Skip to content

Commit 09474a0

Browse files
committed
Fix skyriding being interpreted as a stance on warriors
1 parent 91ad702 commit 09474a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ConsolePort/ConsolePort.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Title: Console Port
44
## Notes: Gamepad addon suite
55
## AddonCompartmentFunc: ConsolePort
6-
## Version: 3.0.28
6+
## Version: 3.0.29
77

88
## Author: Sebastian Lindfors
99
## X-Website: https://github.com/seblindfors/ConsolePort

ConsolePort/Model/Game/Actionbar.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ do
203203
end)
204204

205205
db:RegisterCallback('OnUpdateShapeshiftForm', function(_, spellID, bonusBarIndex)
206-
if not spellID or bonusBarIndex == 0 then return end;
206+
if not spellID or bonusBarIndex == 0 or bonusBarIndex > 10 then return end;
207207
local key = MakeStanceCacheKey(bonusBarIndex, CPAPI.GetSpecialization())
208208
if db.Shared:GetData(0, key) == spellID then return end;
209209
db.Shared:SaveData(0, key, spellID)

0 commit comments

Comments
 (0)