Skip to content

Commit

Permalink
2.04
Browse files Browse the repository at this point in the history
fix bug with button and riding crop
  • Loading branch information
anzz1 authored Jul 14, 2022
1 parent 746e09f commit d30faf6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions AutoCarrot/AutoCarrot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ f:SetScript('OnEvent', function(self, event, ...)
AutoCarrotDB.trinketSlot1 = false
AutoCarrotDB.enchantHandsLink = nil
AutoCarrotDB.enchantBootsLink = nil
AutoCarrotDB.handsLink = nil
AutoCarrotDB.bootsLink = nil
return
elseif(itemId == 11122) then
CROP_OR_CARROT_ID = 11122
Expand All @@ -188,6 +190,8 @@ f:SetScript('OnEvent', function(self, event, ...)
CROP_OR_CARROT_ID = tonumber(sItemId)
AutoCarrotDB.enchantHandsLink = nil
AutoCarrotDB.enchantBootsLink = nil
AutoCarrotDB.handsLink = nil
AutoCarrotDB.bootsLink = nil
return
elseif(sItemId == "11122") then
CROP_OR_CARROT_ID = 11122
Expand Down
2 changes: 1 addition & 1 deletion AutoCarrot/AutoCarrot.toc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
## Author: kebabstorm
## Notes: Equips Carrot on a Stick automatically when mounted
## SavedVariablesPerCharacter: AutoCarrotDB
## Version: 2.03
## Version: 2.04

AutoCarrot.lua

0 comments on commit d30faf6

Please sign in to comment.