This commit is contained in:
Bunny67
2018-07-10 21:22:27 +03:00
parent c66ed227c6
commit 0467f1f310
+1 -1
View File
@@ -400,7 +400,7 @@ end
function B:CanItemGoInBag(bag, slot, targetBag) function B:CanItemGoInBag(bag, slot, targetBag)
local item = bagIDs[B:Encode_BagSlot(bag, slot)] local item = bagIDs[B:Encode_BagSlot(bag, slot)]
local itemFamily = GetItemFamily(item) local itemFamily = GetItemFamily(item)
if itemFamily then if itemFamily and itemFamily > 0 then
local equipSlot = select(8, GetItemInfo(item)) local equipSlot = select(8, GetItemInfo(item))
if equipSlot == "INVTYPE_BAG" then if equipSlot == "INVTYPE_BAG" then
itemFamily = 1 itemFamily = 1