small refactorings, small bugfix and shift click linking item names now always inserts a name without suffix (would otherwise not work anyway)
This commit is contained in:
@@ -4,6 +4,11 @@ local itemlink_item, item_id, item_charges
|
||||
|
||||
function Aux.info.container_item(bag, slot)
|
||||
local itemlink = GetContainerItemLink(bag, slot)
|
||||
|
||||
if not itemlink then
|
||||
return
|
||||
end
|
||||
|
||||
local container_item = itemlink_item(itemlink)
|
||||
|
||||
local texture, count, locked, quality, readable, lootable, itemlink = GetContainerItemInfo(bag, slot)
|
||||
|
||||
Reference in New Issue
Block a user