Rottenbeer / ItemRack

ItemRack working for WoW Classic
41 stars 44 forks source link

WoW Classic Era V.1.15.4 - Swapping Gear Sets with Shirt <> No Shirt equipped - "Swap stopped. Something is on the cursor" error. #279

Open maximus210793 opened 1 month ago

maximus210793 commented 1 month ago

Hi,

continuing with https://github.com/Rottenbeer/ItemRack/issues/275 I noticed, that when I have one gear set with a shirt equipped and the other one with no shirt and I want to switch the item set I get again the error message: "Swap stopped. Something is on the cursor"

Even with changing line 283 to if swap[k]==0 or swap[k]=="0" then -- if intended to be empty

Switching between sets, where always no Shirt is equipped causes no error message. Same applies for switching gear sets with always a Shirt equipped. So only the combination Shirt <> No Shirt causes the aforementioned error "Swap stopped. Something is on the cursor".

A fix would be awesome.