Commit 89ef7c9 1 parent 1c113b1 commit 89ef7c9 Copy full SHA for 89ef7c9
File tree 1 file changed +1
-11
lines changed
1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -749,7 +749,7 @@ function MySlot:RecoverData(msg, opt)
749
749
return
750
750
end
751
751
752
- if curIndex ~= index or curType ~= slotType or slotType == MYSLOT_MACRO then -- macro always test
752
+ if curIndex ~= index or curType ~= slotType then
753
753
if slotType == MYSLOT_SPELL or slotType == MYSLOT_FLYOUT or slotType == MYSLOT_COMPANION then
754
754
if slotType == MYSLOT_SPELL or slotType == MYSLOT_COMPANION then
755
755
PickupSpell (index )
@@ -793,16 +793,6 @@ function MySlot:RecoverData(msg, opt)
793
793
end
794
794
elseif slotType == MYSLOT_ITEM then
795
795
PickupItem (index )
796
- -- elseif slotType == MYSLOT_MACRO then
797
- -- local macroid = macro[index]
798
-
799
- -- if not macroid then
800
- -- MySlot:Print(L["Ignore unknown macro [id=%s]"]:format(index))
801
- -- end
802
-
803
- -- if curType ~= MYSLOT_MACRO or curIndex ~= macroid then
804
- -- PickupMacro(macroid)
805
- -- end
806
796
elseif slotType == MYSLOT_SUMMONPET and strindex and strindex ~= curIndex then
807
797
C_PetJournal .PickupPet (strindex , false )
808
798
if not GetCursorInfo () then
You can’t perform that action at this time.
0 commit comments